Caffe2 - Python API
A deep learning, cross platform ML framework
Packages
Classes
Files
C++ API
Python API
GitHub
Class List
Class Index
Class Hierarchy
Class Members
torch
nn
modules
loss
HingeEmbeddingLoss
Public Member Functions
|
Public Attributes
|
List of all members
torch.nn.modules.loss.HingeEmbeddingLoss Class Reference
Inheritance diagram for torch.nn.modules.loss.HingeEmbeddingLoss:
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
Detailed Description
Definition at line
611
of file
loss.py
.
The documentation for this class was generated from the following file:
torch/nn/modules/
loss.py
Generated on Thu Mar 21 2019 13:06:39 for Caffe2 - Python API by
1.8.11