Versioned name: LogSoftmax-1

Category: Activation


  • axis

    • Description: axis represents the axis of which the LogSoftmax is calculated. Negative value means counting dimensions from the back.

    • Range of values: [-r, r-1] where r = rank(input)

    • Type: s64

    • Default value: -1

    • Required: no


  • 1: input - input tensor with enough number of dimension to be compatible with axis attribute. Required.

    • Type: T


  • 1: output - the output tensor of the same shape and type as input tensor.

    • Type: T


  • T: f32, f16, bf16.

  • Note: Inputs and outputs have the same data type denoted by T. For example, if input is f32 tensor, then all other tensors have f32 data type.