BaşlayınÜcretsiz Başlayın

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

Bu egzersiz

Introduction to Deep Learning with PyTorch

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

İnteraktif egzersizlerimizden biriyle teoriyi pratiğe dökün

Egzersizi başlat