Guest User

Untitled

a guest
Mar 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. u = np.arange(12).reshape(3,4,1)
  2.  
  3. In [125]: e = u.argmax(axis=2)
  4. Out[130]: e
  5. array([[0, 0, 0, 0],
  6. [0, 0, 0, 0],
  7. [0, 0, 0, 0]])
Add Comment
Please, Sign In to add comment