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