forward method

Tensor forward(
  1. Tensor x
)

Implementation

Tensor forward(Tensor x) => w2.forward(w1.forward(x));