Thank you, iamalbert
A paper I recently read use this trick but implemented in Theano. I want to re-implement their algorithm in PyTorch.
I think np.isnan is a useful function, but torch doesn’t implement it, is there a efficient solution?
Thank you!