Add unit test for operations that support ANEURALNETWORKS_TENSOR_QUANT8_ASYMM (#1857)
author장지섭/동작제어Lab(SR)/Engineer/삼성전자 <jiseob.jang@samsung.com>
Thu, 5 Jul 2018 07:30:01 +0000 (16:30 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 5 Jul 2018 07:30:01 +0000 (16:30 +0900)
commit01940ec327d8f164a71c43ed152e1704872804cc
tree283ab26484a223117f3465f314ba9575e6dea85c
parentb5f49deee6bae0348764ab78a2c14079ac185e01
Add unit test for operations that support ANEURALNETWORKS_TENSOR_QUANT8_ASYMM (#1857)

This commit adds unit tests for operations that support ANEURALNETWORKS_TENSOR_QUANT8_ASYMM.

Operation list of added unit test
  - ANEURALNETWORKS_TENSOR_ADD
  - ANEURALNETWORKS_AVERAGE_POOL_2D
  - ANEURALNETWORKS_CAST_EX (QUANT8_ASYMM to FLOAT32)
  - ANEURALNETWORKS_CONCATENATION
  - ANEURALNETWORKS_CONV_2D
  - ANEURALNETWORKS_DEPTHWISE_CONV_2D
  - ANEURALNETWORKS_FULLY_CONNECTED
  - ANEURALNETWORKS_MAX_POOL_2D
  - ANEURALNETWORKS_MUL
  - ANEURALNETWORKS_RELU
  - ANEURALNETWORKS_RELU6
  - ANEURALNETWORKS_RESHAPE
  - ANEURALNETWORKS_SOFTMAX

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
27 files changed:
tools/nnapi_unittests/CMakeLists.txt
tools/nnapi_unittests/tests/add_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/add_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/avg_pool_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/avg_pool_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/cast_q_to_f_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/cast_q_to_f_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/concat_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/concat_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/conv_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/conv_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/dconv_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/dconv_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/fully_connected_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/fully_connected_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/max_pool_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/max_pool_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/mul_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/mul_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/relu6_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/relu6_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/relu_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/relu_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/reshape_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/reshape_quan_1.lst [new file with mode: 0644]
tools/nnapi_unittests/tests/softmax_quan_1.cpp [new file with mode: 0644]
tools/nnapi_unittests/tests/softmax_quan_1.lst [new file with mode: 0644]