diff options
author | Slava Shklyaev <slavash@google.com> | 2020-01-09 15:16:50 +0000 |
---|---|---|
committer | Slava Shklyaev <slavash@google.com> | 2020-01-13 15:44:27 +0000 |
commit | b88bb3e3f225d5262499f5f072fcfb20d0e59951 (patch) | |
tree | 39041e42a817946d94c02a2d84394a4deb8cc337 /nn/runtime/test/TestValidateOperations.cpp | |
parent | c01d2a24ac6de9e9db8a503bb54d37abc5feafd7 (diff) | |
download | ml-b88bb3e3f225d5262499f5f072fcfb20d0e59951.tar.gz |
Add TENSOR_INT32 support for DIV
Bug: 142318767
Bug: 136735929
Test: NNT_static
Change-Id: I105222e43802bc58562bb904bd9e9b306eb3697c
Diffstat (limited to 'nn/runtime/test/TestValidateOperations.cpp')
-rw-r--r-- | nn/runtime/test/TestValidateOperations.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nn/runtime/test/TestValidateOperations.cpp b/nn/runtime/test/TestValidateOperations.cpp index 37bc5f95c..99976377c 100644 --- a/nn/runtime/test/TestValidateOperations.cpp +++ b/nn/runtime/test/TestValidateOperations.cpp @@ -698,6 +698,10 @@ TEST(OperationValidationTest, DIV_float32) { simpleMathOpTest(ANEURALNETWORKS_DIV, ANEURALNETWORKS_TENSOR_FLOAT32); } +TEST(OperationValidationTest, DIV_int32) { + simpleMathOpTest(ANEURALNETWORKS_DIV, ANEURALNETWORKS_TENSOR_INT32); +} + TEST(OperationValidationTest, MUL_quant8_bad_output_scale) { uint32_t inputDimensions[4] = {2, 2, 2, 2}; ANeuralNetworksOperandType input1 = |