Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
torch.utils.hooks.RemovableHandle Class Reference
Inheritance diagram for torch.utils.hooks.RemovableHandle:

Public Member Functions

def __init__ (self, hooks_dict)
def remove (self)
def __getstate__ (self)
def __setstate__ (self, state)
def __enter__ (self)
def __exit__ (self, type, value, tb)

Public Attributes


Static Public Attributes


Detailed Description

A handle which provides the capability to remove a hook.

Definition at line 7 of file

The documentation for this class was generated from the following file: