skip to content
promptdojo
_
[ save your spot ]
[ follow on x ]
Broadcasting and vectorization — step 3 of 7
ch 42 · pytorch tensors and autograd
3/7
promptdojo
_
›
phase 08 · ai/ml engineering buildout
›
ch 42 · pytorch tensors and autograd
lesson 2 of 4 · broadcasting and vectorization
step 3 / 7
Read the editor. The scalar
k
is broadcast across the vector
v
. What does it print?
your prediction
Check prediction
Or run the code →
Show hint 1
Broadcasting and vectorization — step 3 of 7
ch 42 · pytorch tensors and autograd
3/7
promptdojo
_
›
phase 08 · ai/ml engineering buildout
›
ch 42 · pytorch tensors and autograd
lesson 2 of 4 · broadcasting and vectorization
step 3 / 7
Read the editor. The scalar
k
is broadcast across the vector
v
. What does it print?
your prediction
Check prediction
Or run the code →
Show hint 1
park a thought