Implement a Deep Neural Network in PyTorch

Basicauto-graded

Construct a multi-layer feedforward neural network with nonlinear activations, training it on a classification task.

Solve it

Check your answer

The grader verifies properties of your implementation, so a correct solution written differently from ours still passes.

pip install torchleet

from torchleet import check
check("custom-dnn", DNNModel)