Quiz
Broadcasting Views and Zero Strides
Understand what np.broadcast_to actually returns and how zero-stride views behave.
Given `a = np.arange(3)` and `b = np.broadcast_to(a, (4, 3))`, which statement is correct?
Understand what np.broadcast_to actually returns and how zero-stride views behave.
Given `a = np.arange(3)` and `b = np.broadcast_to(a, (4, 3))`, which statement is correct?