title: Emulate fmin in torch 1.7.1
body: <p>In the current version there exists torch.fmin <a href="https://pytorch.org/docs/stable/generated/torch.fmin.html" rel="nofollow noreferrer">Torch Documentation fimin</a></p>
  <p>Unfortunately, my project relies on torch 1.7.1 and I can't upgrade. Is there another way to use min with NaNs in my tensor to emulate fmin. The NaNs are intended and are not a result of poor implementation. So I would like to keep them.</p>