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 authored Jul 5, 2021
1 parent 7be8d75 commit ac68eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion torchmetrics/classification/kl_divergence.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class KLDivergence(Metric):
>>> kldivergence(p, q)
tensor(0.0853)
"""
# canot be used because if scripting
# TODO: canot be used because if scripting
# measures: Union[List[Tensor], Tensor]
total: Tensor

Expand Down
2 changes: 1 addition & 1 deletion torchmetrics/classification/stat_scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class StatScores(Metric):
"""

# canot be used because if scripting
# TODO: canot be used because if scripting
# tp: Union[Tensor, List[Tensor]]
# fp: Union[Tensor, List[Tensor]]
# tn: Union[Tensor, List[Tensor]]
Expand Down

0 comments on commit ac68eff

Please sign in to comment.