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