Hey I’m kinda a newbie…
How can I calculate closest tensor in list to another tensor?
Example:
Say I have:
[tensor([1,1,1]),tensor([5,5,5]),tensor([10,10,10])]

and:
tensor([2,2,2])

If would want:
tensor([1,1,1])

How can I achieve this? Thank you