skip to content
promptdojo
_
[ save your spot ]
[ follow on x ]
Tensors and shapes before anything else — step 2 of 7
ch 42 · pytorch tensors and autograd
2/7
promptdojo
_
›
phase 08 · ai/ml engineering buildout
›
ch 42 · pytorch tensors and autograd
lesson 1 of 4 · tensors and shapes before anything else
step 2 / 7
This tensor holds a batch of customer feature rows. What is its shape?
1
(3, 4)
2
(4, 3)
3
(12,)
4
(4,)
check
Show hint
Tensors and shapes before anything else — step 2 of 7
ch 42 · pytorch tensors and autograd
2/7
promptdojo
_
›
phase 08 · ai/ml engineering buildout
›
ch 42 · pytorch tensors and autograd
lesson 1 of 4 · tensors and shapes before anything else
step 2 / 7
This tensor holds a batch of customer feature rows. What is its shape?
1
(3, 4)
2
(4, 3)
3
(12,)
4
(4,)
check
Show hint
park a thought