title: Check equality of two axes in multidiimensional numpy array
body: <p>I am given a 3-dimensional shape(n,m,k) numpy array. I'd like to view this as a 2-dimensional matrix containing vectors, i.e. a nxm matrix with a vector of size k. I'd now like to check for two such arrays of shape (n,m,k) wheter entry (x,y,:) in the first array is equal to (x,y,:) in the second array. Is there a method to do this in numpy without using loops?</p>
  
  <p>I'd thought about something like A == B conditioned on the first and second axis.</p>