Class CosineSimilarity¶
Defined in File distance.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< CosineSimilarityImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class CosineSimilarity : public torch::nn::ModuleHolder<CosineSimilarityImpl>¶
A
ModuleHolder
subclass forCosineSimilarityImpl
.See the documentation for
CosineSimilarityImpl
class to learn what methods it provides, and examples of how to useCosineSimilarity
withtorch::nn::CosineSimilarityOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using Impl = CosineSimilarityImpl¶
-
using Impl = CosineSimilarityImpl¶