Challenge: Initializing Tensors
Oppgave
Swipe to start coding
- Create a
2x3
tensor filled with zeros using the appropriate creation function. - Create a 1D tensor with integer values from
1
to10
inclusive (11
exclusive) using the appropriate creation function. - Create a 1D tensor with
10
evenly spaced values between2
and4
inclusive using the appropriate creation function.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4