Happy to hear that you solved your problem.
It is not the same thing for me but thank you for the information.
I tried print((x!=x).any()) and it gave me tensor(False)
I tried everything xD I need to think more.
@ptrblck Do you have any further advices for me ? I would be grateful, I already am for your help.