Hi everyone,
suppose I have a tensor:  x: [0, 1, 4, 5, 6]
and I want to index elements in any of this list: [4, 5, 6],
similar to: np.where(x in [4, 5, 6], True, False) (this also doesn’t work ),
Expected outcome: [False, False, True, True, True]
Are there any solutions? Thanks.