Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace test with invalid-enum-load (#2546)
The TestTypeSizeOf was casting an invalid value for TfLiteType into a variable of that type. This is undefined behavior and triggered ubsan. This PR replaces this test case with using kTfLiteNoType, which will still trigger the default failure case for TfLiteTypeSizeOf. BUG=b/333708102
- Loading branch information