fixed type hint for weights_summary arg (#1313)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Adrian Wälchli
2020-03-31 13:42:29 +02:00
committed by GitHub
co-authored by mergify[bot]
parent 1aba411da9
commit 4dcb9d3e30
+1 -1
View File
@@ -113,7 +113,7 @@ class Trainer(
use_amp=False, # backward compatible, todo: remove in v0.9.0
precision: int = 32,
print_nan_grads: bool = False, # backward compatible, todo: remove in v0.9.0
weights_summary: str = 'full',
weights_summary: Optional[str] = 'full',
weights_save_path: Optional[str] = None,
amp_level: str = 'O1',
nb_sanity_val_steps=None, # backward compatible, todo: remove in v0.8.0