forked from llvm/torch-mlir
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix category mapper for case when input value yields default string (l…
…lvm#1271) When an input tensor contains a int64_t value that is not in the CategoryMapper's category attribute, the default string value needs to be returned. Currently there is a bug in the implementation (segfaults), this patch fixes the problem and adds and end-to-end test. Signed-off-by: Ettore Tiotto <etiotto@ca.ibm.com>
- Loading branch information
Ettore Tiotto
authored
Mar 30, 2022
1 parent
5ecd858
commit f454310
Showing
3 changed files
with
5 additions
and
10 deletions.
There are no files selected for viewing
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
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
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