Return the indices of rows of A that draw from every row of B:
A qualifies when it contains at least one element from each row
of B (not all of them)A has shape (8, 3), B has shape (2, 2)Input
A =
[[0 1 2]
[3 4 0]
[1 0 4]
[2 2 2]
[4 3 1]
[0 0 0]
[1 2 3]
[4 4 4]]
B =
[[0 1]
[3 4]]
Output
[1 2 4 6]