balbasty / nitorch

Neuroimaging in PyTorch
Other
86 stars 14 forks source link

Regression: isfinite #42

Closed balbasty closed 3 years ago

balbasty commented 3 years ago

Tensor.isfinite() was only intorduced in PyTorch 1.6. I should use torch.isfinite(Tensor) instead, which is present in version < 1.6.