pytorch-adapt
pytorch-adapt copied to clipboard
Retrieve deeply nested hooks by name
For example:
# return all hooks inside of "classifier" that are of type ATDOCHook
hooks = classifier.get_hooks("ATDOCHook")