forward method

Tensor forward(
  1. Tensor input
)

Implementation

Tensor forward(Tensor input) => input.softmax(dim);