Your question seems to be a duplicate of:
How to match pairs of values contained in two numpy arrays
In any case, something like the first answer should do it if I understand correctly:
import numpy
a = numpy.array(
[
[[1, 2]],
[[3, 4]]
])
b = numpy.array([[3,5]])
print((b[:,None] == a).all(2).any(1))
Which outputs:
array([False, True])
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…