-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ait: Explicitly throw when indexing a boolean tensor for masking (#992)
Summary: Pull Request resolved: #992 Currently AIT hasn't implemented `tensor[boolean_tensor]` for masking. It fail shortly after this call, at: > 'Tensor' object has no attribute 'upper_bound' ``` > link-tree/aitemplate/utils/shape_utils.py(195)convert_IntVar_to_int() -> if var.upper_bound() == var.lower_bound(): ``` Reviewed By: frank-wei, khabinov Differential Revision: D53654054 fbshipit-source-id: e207bde543d4b459fcb4a0fa8e05c138f26afbf4
- Loading branch information
1 parent
4b27253
commit a99c753
Showing
2 changed files
with
26 additions
and
0 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