NumCpp icon indicating copy to clipboard operation
NumCpp copied to clipboard

maximum can't deal with different array shape like in python

Open bing1zhi2 opened this issue 5 years ago • 0 comments

` np.maximum(np.eye(2), [0.5, 2]) # broadcasting

array([[ 1. , 2. ], [ 0.5, 2. ]])`

bing1zhi2 avatar Aug 21 '20 08:08 bing1zhi2