Skip to content

Commit

Permalink
Fix doc formatting (#1438)
Browse files Browse the repository at this point in the history
Co-authored-by: Jirka Borovec <[email protected]>
  • Loading branch information
felixdivo and Borda authored Jan 16, 2023
1 parent 4f3cab9 commit 7b5f8eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/torchmetrics/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class Metric(Module, ABC):
call of ``update()`` and are synchronized across processes when ``compute()`` is called.
Note:
Metric state variables can either be ``torch.Tensors`` or an empty list which can we used
to store `torch.Tensors``.
Metric state variables can either be :class:`~torch.Tensor` or an empty list which can we used
to store :class:`~torch.Tensor`.
Note:
Different metrics only override ``update()`` and not ``forward()``. A call to ``update()``
Expand Down

0 comments on commit 7b5f8eb

Please sign in to comment.