Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | List of all members
torch.autograd.function.FunctionMeta Class Reference
Inheritance diagram for torch.autograd.function.FunctionMeta:
torch.autograd.function.Function torch.autograd.function.InplaceFunction torch.autograd.function.NestedIOFunction torch.nn._functions.thnn.normalization.CrossMapLRN2d torch.nn._functions.thnn.sparse.EmbeddingBag torch.nn.modules._functions.SyncBatchNorm

Public Member Functions

def __init__ (cls, name, bases, attrs)
 

Detailed Description

Function metaclass.

This metaclass sets up the following properties:
    _is_legacy: True if forward is not defined as a static method.
    _backward_cls: The Function class corresponding to the differentiated
        version of this function (which is generated on the fly by this
        metaclass).

Definition at line 80 of file function.py.


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