Error was due to very small abs differences, where jax rounds down to 0 but paddlepaddle takes the value. Fix by limiting the smallest abs value that can be generated for testing
eg: -2.23517418e-08 and -1.49011612e-08, is labelled as False in paddle but True in jax
PR Description
Error was due to very small abs differences, where jax rounds down to
0
butpaddlepaddle
takes the value. Fix by limiting the smallest abs value that can be generated for testingeg:
-2.23517418e-08
and-1.49011612e-08
, is labelled asFalse
inpaddle
butTrue
injax
Related Issue
Close https://github.com/unifyai/ivy/issues/28727
Checklist
Socials