forward method

Tensor2D forward(
  1. Tensor2D x
)

Implementation

Tensor2D forward(Tensor2D x) {
  final y = Ops.matmul(x, w);
  return Ops.addRowwise(y, b);
}