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 Nov 30, 2021
1 parent e57142f commit 5c26c93
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torchmetrics/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,6 @@ def forward(self, *args: Any, **kwargs: Any) -> Any:
if isinstance(self.metric_a, Metric)
else self.metric_a
)

val_b = (
self.metric_b(*args, **self.metric_b._filter_kwargs(**kwargs))
if isinstance(self.metric_b, Metric)
Expand Down

0 comments on commit 5c26c93

Please sign in to comment.