You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
Suggest to provide this function in SDK, as in most of the cases, when users receive a parameter, they are going to replace the corresponding argument.
defupdate_args(args):
# args is obtained by `parser.parse_args()`params=nni.get_next_parameter()
ifnotparams:
params= {}
ifparams:
fork, vinparams.items():
asserthasattr(namespace, k), "Args doesn't have received key: %s"%kasserttype(getattr(namespace, k)) ==type(v), "Received key has different type"setattr(namespace, k, v)
The text was updated successfully, but these errors were encountered:
Suggest to provide this function in SDK, as in most of the cases, when users receive a parameter, they are going to replace the corresponding argument.
The text was updated successfully, but these errors were encountered: