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
Just to clarify, for the example provided in section Registering your own Argument Handlers, is the last line REGISTRY.add(np.ndarray, NPHandler)
or REGISTRY.add(np.ndarray, Handler)?
Here's what I've tried, but not sure what would be the correct usage.
>>> REGISTRY.add(np.ndarray, NPHandler)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'NPHandler' is not defined
>>> REGISTRY.add(np.ndarray, Handler)
Thanks!
The text was updated successfully, but these errors were encountered:
Just to clarify, for the example provided in section Registering your own Argument Handlers, is the last line
REGISTRY.add(np.ndarray, NPHandler)
or
REGISTRY.add(np.ndarray, Handler)
?Here's what I've tried, but not sure what would be the correct usage.
Thanks!
The text was updated successfully, but these errors were encountered: