hi, hope you’re doing well
I have 2 tensors with unequal size
a = torch.tensor([[8,2], [5,3],[4,4]])
b = torch.tensor([[1,2],[5,3]])
I want a boolean tensor of whether each value exists in the other tensor without iterating. something like
a in b
and then we should have
[False, True, False]
would you please help me?
thanks in advance