Simple MLP Forward Pass
0
Implement the forward pass for a simple multilayer perceptron (MLP) with three linear layers. The input tensor is passed through these layers with ReLU activations after the first two layers.
Examples:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
↓
0.14127331972122192
-0.1059207022190094
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
↓
0.1506144106388092
-0.10392287373542786
Loading...