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

Public Member Functions

def __init__ (self, p=1, margin=1., weight=None, size_average=None, reduce=None, reduction='mean')
def forward (self, input, target)
- Public Member Functions inherited from torch.nn.modules.loss._WeightedLoss
def __init__ (self, weight=None, size_average=None, reduce=None, reduction='mean')
- Public Member Functions inherited from torch.nn.modules.loss._Loss
def __init__ (self, size_average=None, reduce=None, reduction='mean')

Public Attributes

- Public Attributes inherited from torch.nn.modules.loss._Loss

Detailed Description

Definition at line 1081 of file

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