Public Member Functions | |
def | __init__ (self, margin=1.0, size_average=None, reduce=None, reduction='mean') |
def | forward (self, input, target) |
Public Member Functions inherited from torch.nn.modules.loss._Loss | |
def | __init__ (self, size_average=None, reduce=None, reduction='mean') |
Public Attributes | |
margin | |
Public Attributes inherited from torch.nn.modules.loss._Loss | |
reduction | |