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
ModuleHoldersubclass forCosineEmbeddingLossImpl.See the documentation for
CosineEmbeddingLossImplclass to learn what methods it provides, and examples of how to useCosineEmbeddingLosswithtorch::nn::CosineEmbeddingLossOptions. See the documentation forModuleHolderto learn about PyTorch’s module storage semantics.Public Types
-
using __unused__ = CosineEmbeddingLossImpl¶
-
using __unused__ = CosineEmbeddingLossImpl¶