This repository was archived by the owner on Jul 1, 2025. It is now read-only.
This repository was archived by the owner on Jul 1, 2025. It is now read-only.
quantized div divides by zero on CPU #2736
Open
Description
The implementation of quantized elementdiv in the CPU backend can lead to divide by zero exceptions. One example of this is running symmetric_with_uint8 quantized densenet121. The interpreter implementation of this is suspect as well, as it ends up converting a float inf to int32, which is undefined.