Closed Connor-Guo closed 1 year ago
Merging #165 (8710970) into main (c4183d1) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #165 +/- ##
=======================================
Coverage 24.23% 24.23%
=======================================
Files 178 178
Lines 10630 10630
=======================================
Hits 2576 2576
Misses 8054 8054
Impacted Files | Coverage Δ | |
---|---|---|
...eval/metrics/functional/classification/accuracy.py | 20.16% <ø> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
@ananthsub has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Summary: File changed: torcheval/metrics/functional/classification/accuracy.py
In function
_topk_multilabel_accuracy_update(input, target, criteria, k)
: The parameterk
should be passed on toinput.topk(k, dim)
. However, the original version passed a fixed value2
toinput.topk(k, dim)
, instead of the parameterk
.Also, the Examples in docstring of
topk_multilabel_accuracy()
is edited for consistency.