Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Sep 11, 2024
1 parent 7dc61f6 commit e23da6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torchmetrics/regression/r2.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class R2Score(Metric):
kwargs: Additional keyword arguments, see :ref:`Metric kwargs` for more info.
.. warning::
Argument `num_outputs` in `R2Score` has been deprecated because it is no longer necessary and will be
Argument ``num_outputs`` in ``R2Score`` has been deprecated because it is no longer necessary and will be
removed in v1.6.0 of TorchMetrics. The number of outputs is now automatically inferred from the shape
of the input tensors.
Expand Down

0 comments on commit e23da6b

Please sign in to comment.