Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect tensor storage check (#86845)
Fix incorrect tensor storage check This change contains an incorrect check for storage: #86557 **self.storage is not None** should have been: **not torch._C._has_storage(self)** These fixes were run through the DirectML test suite, and confirm the check is now working correctly. Pull Request resolved: #86845 Approved by: https://github.com/martinb35, https://github.com/bdhirsh
- Loading branch information