Challenge: Initializing Tensors
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 4
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 5
Challenge: Initializing Tensors
Swipe to show menu
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
Awesome!
Completion rate improved to 5SectionΒ 1. ChapterΒ 4
single