pytorch-adapt icon indicating copy to clipboard operation
pytorch-adapt copied to clipboard

Retrieve deeply nested hooks by name

Open KevinMusgrave opened this issue 3 years ago • 0 comments

For example:

# return all hooks inside of "classifier" that are of type ATDOCHook
hooks = classifier.get_hooks("ATDOCHook")

KevinMusgrave avatar Feb 24 '22 17:02 KevinMusgrave