hard20 pts · first answer countsnumpy
Shape after NumPy broadcasting
What shape does this print?
import numpy as np a = np.zeros((3, 1)) b = np.zeros(4) print((a + b).shape)
Discussion 0
Join free to post in the discussion.
What shape does this print?
import numpy as np a = np.zeros((3, 1)) b = np.zeros(4) print((a + b).shape)
Join free to post in the discussion.