title: What's the equivalent of numpy.spacing(1) in libtorch?
body: <p>It seems pytorch does have/expose the <code>finfo</code> <a href="https://pytorch.org/docs/stable/type_info.html" rel="nofollow noreferrer">link</a>, but I can't find it in <code>libtorch</code>. Is it even made available in libtorch yet or not? Using the torch.finfo I could easily do:</p>
  <pre class="lang-py prettyprint-override"><code>esp = torch.finfo(torch.float).eps
  </code></pre>
  <p>which I believe is the counterpart/equivalent of <code>np.spacing(1)</code> but in libtorch I can't do the same thing as I can not find any trace of <code>finfo</code> class. What should I do?</p>