Build a simple two-layer feedforward neural network (MLP).
The forward pass computes:
Input:
x: input tensor of shape (batch, in_features) W1: weight matrix of shape (in_features, hidden) b1: bias vector of shape (hidden,) W2: weight matrix of shape (hidden, out_features) b2: bias vector of shape (out_features,)
Output: Tensor of shape (batch, out_features)