np.where to zeros and ones code example
Example 1: np.zeros
>>> np.zeros((2, 1))
array([[ 0.],
[ 0.]])
Example 2: np.zeros([8,8,3])
>>> np.zeros([8,8,3])
array([[ 0.],
[ 0.]])
>>> np.zeros((2, 1))
array([[ 0.],
[ 0.]])
>>> np.zeros([8,8,3])
array([[ 0.],
[ 0.]])