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