Challenge: Initializing Tensors
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 4