Class SoftMarginLoss#
Defined in File loss.h
Page Contents
Inheritance Relationships#
Base Type#
public torch::nn::ModuleHolder< SoftMarginLossImpl >(Template Class ModuleHolder)
Class Documentation#
-
class SoftMarginLoss : public torch::nn::ModuleHolder<SoftMarginLossImpl>#
A
ModuleHoldersubclass forSoftMarginLossImpl.See the documentation for
SoftMarginLossImplclass to learn what methods it provides, and examples of how to useSoftMarginLosswithtorch::nn::SoftMarginLossOptions. See the documentation forModuleHolderto learn about PyTorch’s module storage semantics.Public Types
-
using Impl = SoftMarginLossImpl#
-
using Impl = SoftMarginLossImpl#