Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 0ddee7d

Browse files
Yanghan Wangfacebook-github-bot
authored andcommitted
use "legacy" dataclass at operator level
Summary: Pull Request resolved: #444 Differential Revision: D41828774 fbshipit-source-id: 3ce2114db4da61b4343d5c1a52d9c44a46f59671
1 parent 02723f2 commit 0ddee7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

d2go/trainer/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class TrainNetOutput:
1818
metrics: MetricsDict[float]
1919
# Optional, because we use None to distinguish "not used" from
2020
# empty model configs. With T127368935, this should be reverted to dict.
21-
model_configs: Optional[Dict[str, str]]
21+
model_configs: Dict[str, str]
2222
# TODO (T127368603): decide if `tensorboard_log_dir` should be part of output
2323
tensorboard_log_dir: Optional[str] = None
2424

0 commit comments

Comments
 (0)