Closed moble closed 3 years ago
Presumably, we would prefer [1, 0, 0, 0]. Unfortunately, np.ones_like does not call the ufunc, so I'm not sure how to hook into this behavior.
[1, 0, 0, 0]
np.ones_like
Presumably, we would prefer
[1, 0, 0, 0]
. Unfortunately,np.ones_like
does not call the ufunc, so I'm not sure how to hook into this behavior.