Skip to content

Commit a4132d6

Browse files
committed
Update docstrings and remove time_dim attribute from model object
1 parent a462b00 commit a4132d6

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

dabench/model/_model.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,18 @@
1010
class Model():
1111
"""Base class for Model object
1212
13-
Attributes:
14-
system_dim (int): system dimension
15-
time_dim (int): total time steps
16-
delta_t (float): the timestep of the model (assumed uniform)
17-
model_obj (obj): underlying model object, e.g. pytorch neural network.
13+
Args:
14+
system_dim: system dimension
15+
delta_t: the timestep of the model (assumed uniform)
16+
model_obj: underlying model object, e.g. pytorch neural network.
1817
"""
1918
def __init__(self,
2019
system_dim: int | None = None,
21-
time_dim: int | None = None,
2220
delta_t: int | None = None,
23-
model_obj: int | None = None
21+
model_obj: Any | None = None
2422
):
2523

2624
self.system_dim = system_dim
27-
self.time_dim = time_dim
2825
self.delta_t = delta_t
2926
self.model_obj = model_obj
3027

0 commit comments

Comments
 (0)