Pytorch documentation how to view math

This is a general Q about reading pytorch documentation: e.g

Notice there are math in LaTeX:

.. math::
        y =
        x, &\text{ if } x > \text{threshold} \\
        \text{value}, &\text{ otherwise }

They don’t get rendered in normal browser (using safari on mac), any good advice on how best to view these?

The docs in the source code won’t be rendered.
Instead have a look at the standard docs where you can find the rendered formula.