How do you think I can get the intersection of the below-given array?
a=np.array([[[[0,0],[0,1]],[[1,1],[1,1]]],
[[[1,0],[1,1]],[[0,1],[1,1]]]])
This is the expected output:
array([[[0, 0],
[0, 1]],
[[0, 1],
[1, 1]]]
Select the correct answer from above options