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

Public Member Functions

def __init__ (self, padding, value)
 
- Public Member Functions inherited from torch.nn.modules.padding._ConstantPadNd
def __init__ (self, value)
 
def forward (self, input)
 
def extra_repr (self)
 

Public Attributes

 padding
 
- Public Attributes inherited from torch.nn.modules.padding._ConstantPadNd
 value
 

Detailed Description

Definition at line 77 of file padding.py.


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