summaryrefslogtreecommitdiff
path: root/nn/runtime/test/specs/V1_3/div_int32.mod.py
AgeCommit message (Collapse)Author
2020-03-30Add tests of DIV by zero.Xusong Wang
Added tests of DIV by zero. The tests exercise DIV by zero of all supported data types in CTS/VTS and only expect runtime/drivers to not crash. Updated the reference implementation of INT32 DIV. Before this CL, the reference implementation will crash with floating point exception. This CL forces INT DIV by zero to return 0. Fixes: 151151830 Test: NNT_static Change-Id: I49f39c6ed41bab5d368498b37909de6a1c808d1e
2020-01-13Add TENSOR_INT32 support for DIVSlava Shklyaev
Bug: 142318767 Bug: 136735929 Test: NNT_static Change-Id: I105222e43802bc58562bb904bd9e9b306eb3697c