Rate this Page

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.