Sezione 1. Capitolo 4
single
Challenge: Initializing Tensors
Scorri per mostrare il menu
Compito
Scorri per iniziare a programmare
- Create a
2x3tensor filled with zeros using thetorch.zeros()function. - Create a 1D tensor with integer values from
1to10inclusive (11exclusive) using thetorch.arange()function. - Create a 1D tensor with
10evenly spaced values between2and4inclusive using thetorch.linspace()function.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 4
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione