I found this response from @ptrblck in 2018 that could be a solution: How to judge a Tensor is in a list?
2 Likes
I found this response from @ptrblck in 2018 that could be a solution: How to judge a Tensor is in a list?