Class CrossEntropyLoss#
Defined in File loss.h
Inheritance Relationships#
Base Type#
public torch::nn::ModuleHolder< CrossEntropyLossImpl >(Template Class ModuleHolder)
Class Documentation#
-
class CrossEntropyLoss : public torch::nn::ModuleHolder<CrossEntropyLossImpl>#
A
ModuleHoldersubclass forCrossEntropyLossImpl.See the documentation for
CrossEntropyLossImplclass to learn what methods it provides, and examples of how to useCrossEntropyLosswithtorch::nn::CrossEntropyLossOptions. See the documentation forModuleHolderto learn about PyTorch’s module storage semantics.Public Types
-
using Impl = CrossEntropyLossImpl#
-
using Impl = CrossEntropyLossImpl#