Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix cwise dimension overflow issue again.
If resulting dimensions overflow an int32, we were seeing an overflow and crash due to size mismatch during broadcast assignment. The cause is a simple dimension type mismatch. Note that actual tests for this are currently impractical, since successful operations require more than 2^32 elements and OOM on most machines. PiperOrigin-RevId: 479336566
- Loading branch information
1 parent
e6e7ca5
commit c5b3037
Showing
1 changed file
with
10 additions
and
8 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