Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Mar 18, 2022
1 parent d3e8d37 commit 5f95ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchmetrics/classification/kl_divergence.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class KLDivergence(Metric):
def __init__(
self,
log_prob: bool = False,
reduction: Literal["elementwise_mean", "sum", "none", None] = "mean",
reduction: Literal["mean", "sum", "none", None] = "mean",
compute_on_step: Optional[bool] = None,
**kwargs: Dict[str, Any],
) -> None:
Expand Down

0 comments on commit 5f95ceb

Please sign in to comment.