Stacking linear layers
Nice work building your first network with two linear layers. Let's stack some more layers. Remember that a neural network can have as many hidden layers as we want, provided the inputs and outputs line up.
This network is designed to ingest the following input:
input_tensor = torch.Tensor(
[[2, 7, 9, 5, 3]]
)
Deze oefening maakt deel uit van de cursus
Introduction to Deep Learning with PyTorch
Praktische interactieve oefening
Zet theorie om in actie met een van onze interactieve oefeningen.
Begin met trainen