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