Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | List of all members
torch.nn.modules.activation.ReLU6 Class Reference
Inheritance diagram for torch.nn.modules.activation.ReLU6:
torch.nn.modules.activation.Hardtanh

Public Member Functions

def __init__ (self, inplace=False)
 
def extra_repr (self)
 
- Public Member Functions inherited from torch.nn.modules.activation.Hardtanh
def __init__ (self, min_val=-1., max_val=1., inplace=False, min_value=None, max_value=None)
 
def forward (self, input)
 
def extra_repr (self)
 

Additional Inherited Members

- Public Attributes inherited from torch.nn.modules.activation.Hardtanh
 min_val
 
 max_val
 
 inplace
 

Detailed Description

Definition at line 219 of file activation.py.


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