Shortcuts

Struct ASMoutput

Page Contents

Struct Documentation

struct ASMoutput

The output of a single invocation of an AdaptiveLogSoftmaxWithLoss module’s forward() method.

Public Functions

ASMoutput(Tensor output_, double loss_)

Public Members

Tensor output

Tensor containing computed target log probabilities for each example.

double loss

Scalar representing the computed negative log likelihood loss.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources