#1386: Apply suggestions from code review - make seed an optional variable
This commit is contained in:
@@ -140,7 +140,7 @@ class TrainingConfig:
|
|||||||
deterministic: bool = False
|
deterministic: bool = False
|
||||||
"If true, the training will be deterministic"
|
"If true, the training will be deterministic"
|
||||||
|
|
||||||
seed: int = None
|
seed: Optional[int] = None
|
||||||
"The random number generator seed to be used while training the agent"
|
"The random number generator seed to be used while training the agent"
|
||||||
|
|
||||||
def to_dict(self, json_serializable: bool = True):
|
def to_dict(self, json_serializable: bool = True):
|
||||||
|
|||||||
Reference in New Issue
Block a user