-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Labels
module: internalsRelated to internal abstractions in c10 and ATenRelated to internal abstractions in c10 and ATentriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🚀 Feature
I think it would be helpful to expose a dtype.is_signed, similar to dtype.is_floating_point. e.g. torch.uint8.is_signed==False.
Motivation
would have been helpful when writing tests for:
#29231
I think we could update the tests once adding this.
Metadata
Metadata
Assignees
Labels
module: internalsRelated to internal abstractions in c10 and ATenRelated to internal abstractions in c10 and ATentriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module