Skip to content

Commit

Permalink
Merge branch 'master' into feature/n_class_map
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jan 16, 2023
2 parents 105a044 + 7b5f8eb commit 7cf0962
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 7cf0962

Please sign in to comment.