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
distance
CosineSimilarity
Public Member Functions
|
Public Attributes
|
List of all members
torch.nn.modules.distance.CosineSimilarity Class Reference
Inheritance diagram for torch.nn.modules.distance.CosineSimilarity:
Public Member Functions
def
__init__
(self, dim=1, eps=1e-8)
def
forward
(self, x1, x2)
Public Attributes
dim
eps
Detailed Description
Definition at line
48
of file
distance.py
.
The documentation for this class was generated from the following file:
torch/nn/modules/
distance.py
Generated on Thu Mar 21 2019 13:06:39 for Caffe2 - Python API by
1.8.11