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

Public Member Functions

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)
 

Public Attributes

 min_val
 
 max_val
 
 inplace
 

Detailed Description

Definition at line 155 of file activation.py.


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