Class KLDivLoss¶
Defined in File loss.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< KLDivLossImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class KLDivLoss : public torch::nn::ModuleHolder<KLDivLossImpl>¶
A
ModuleHolder
subclass forKLDivLossImpl
.See the documentation for
KLDivLossImpl
class to learn what methods it provides, and examples of how to useKLDivLoss
withtorch::nn::KLDivLossOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using __unused__ = KLDivLossImpl¶
-
using __unused__ = KLDivLossImpl¶