Rate this Page

Class AdaptiveLogSoftmaxWithLoss#

Inheritance Relationships#

Base Type#

Class Documentation#

class AdaptiveLogSoftmaxWithLoss : public torch::nn::ModuleHolder<AdaptiveLogSoftmaxWithLossImpl>#

A ModuleHolder subclass for AdaptiveLogSoftmaxWithLossImpl.

See the documentation for AdaptiveLogSoftmaxWithLossImpl class to learn what methods it provides, and examples of how to use AdaptiveLogSoftmaxWithLoss with torch::nn::AdaptiveLogSoftmaxWithLossOptions. See the documentation for ModuleHolder to learn about PyTorch’s module storage semantics.

Public Types

using Impl = AdaptiveLogSoftmaxWithLossImpl#