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

Public Member Functions

def __init__ (self, size=None, scale_factor=None)
 
- Public Member Functions inherited from torch.nn.modules.upsampling.Upsample
def __init__ (self, size=None, scale_factor=None, mode='nearest', align_corners=None)
 
def forward (self, input)
 
def extra_repr (self)
 

Additional Inherited Members

- Public Attributes inherited from torch.nn.modules.upsampling.Upsample
 name
 
 size
 
 scale_factor
 
 mode
 
 align_corners
 

Detailed Description

Definition at line 147 of file upsampling.py.


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