IniziaInizia gratis

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]]
    )

Questo esercizio fa parte del corso

Introduction to Deep Learning with PyTorch

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio