forward method

Tensor forward(
  1. Tensor input
)

In inference mode, dropout is a no-op.

Implementation

Tensor forward(Tensor input) => input;