PyTorch Forums
How to set 'nan' in Tensor to 0
justusschock
(Justus Schock)
September 12, 2018, 5:08pm
9
For completness I’ll copy my answer:
show post in topic