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

Public Member Functions

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')
 

Additional Inherited Members

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

Detailed Description

Definition at line 21 of file loss.py.


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