Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Initializing Tensors | Section
Neural Networks and Deep Learning Foundations with PyTorch
Osio 1. Luku 4
single

single

bookChallenge: Initializing Tensors

Pyyhkäise näyttääksesi valikon

Tehtävä

Pyyhkäise aloittaaksesi koodauksen

  1. Create a 2x3 tensor filled with zeros using the torch.zeros() function.
  2. Create a 1D tensor with integer values from 1 to 10 inclusive (11 exclusive) using the torch.arange() function.
  3. Create a 1D tensor with 10 evenly spaced values between 2 and 4 inclusive using the torch.linspace() function.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 4
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

some-alt