Skip to content

Commit e9ff413

Browse files
committed
Fixing typing.
1 parent d849481 commit e9ff413

File tree

1 file changed

+1
-1
lines changed
  • torchvision/prototype/models

1 file changed

+1
-1
lines changed

torchvision/prototype/models/_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class WeightEntry:
3030
transforms: Callable
3131
meta: Dict[str, Any]
3232

33-
def state_dict(self, progress: bool) -> Dict[str, Any]:
33+
def state_dict(self, progress: bool) -> OrderedDict:
3434
return load_state_dict_from_url(self.url, progress=progress)
3535

3636

0 commit comments

Comments
 (0)