Skip to content

fix return type of get_stats #676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 11, 2022
Merged

fix return type of get_stats #676

merged 1 commit into from
Nov 11, 2022

Conversation

kaczmarj
Copy link
Contributor

The previous return type of Tuple[torch.LongTensor] implies that the tuple includes one item. This commit changes this to a tuple of four LongTensors to represent TP, FP, FN, and TN.

The previous return type of `Tuple[torch.LongTensor]` implies that the tuple includes one item.
This commit changes this to a tuple of four LongTensors to represent TP, FP, FN, and TN.
@qubvel qubvel merged commit 5be2567 into qubvel-org:master Nov 11, 2022
@kaczmarj kaczmarj deleted the patch-1 branch November 11, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants