Created
October 7, 2020 15:36
-
-
Save wookim3/fde2d08da0e39e7e34a28a7ac350b5ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python | |
output = torch.where(score_over_threshold, label, unknown_labels) | |
// C++ | |
const auto output = torch::where(score_over_threshold, label, unknown_labels); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment