mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
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:
co-authored by
mergify[bot]
parent
1aba411da9
commit
4dcb9d3e30
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user