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
ModuleHolder
subclass forSoftMarginLossImpl
.See the documentation for
SoftMarginLossImpl
class to learn what methods it provides, and examples of how to useSoftMarginLoss
withtorch::nn::SoftMarginLossOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using Impl = SoftMarginLossImpl#
-
using Impl = SoftMarginLossImpl#