Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
faa6bebe
Unverified
Commit
faa6bebe
authored
Apr 14, 2022
by
Yuge Zhang
Committed by
GitHub
Apr 14, 2022
Browse files
Add missing reference of state dict hook (#4764)
parent
e0ce406f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nni/retiarii/utils.py
nni/retiarii/utils.py
+1
-1
No files found.
nni/retiarii/utils.py
View file @
faa6bebe
...
@@ -11,7 +11,7 @@ from pathlib import Path
...
@@ -11,7 +11,7 @@ from pathlib import Path
from
nni.common.hpo_utils
import
ParameterSpec
from
nni.common.hpo_utils
import
ParameterSpec
__all__
=
[
'NoContextError'
,
'ContextStack'
,
'ModelNamespace'
]
__all__
=
[
'NoContextError'
,
'ContextStack'
,
'ModelNamespace'
,
'original_state_dict_hooks'
]
def
import_
(
target
:
str
,
allow_none
:
bool
=
False
)
->
Any
:
def
import_
(
target
:
str
,
allow_none
:
bool
=
False
)
->
Any
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment