[Gather Op] add other operation types (#1329)
author최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 <lotieye.choi@samsung.com>
Thu, 31 May 2018 05:59:32 +0000 (14:59 +0900)
committer서상민/동작제어Lab(SR)/Staff Engineer/삼성전자 <sangmin7.seo@samsung.com>
Thu, 31 May 2018 05:59:32 +0000 (14:59 +0900)
commitb39e5752c9aacecca0c285a90a981cfb8bf9b00c
treead95de4b2077ffb9e6f4a4da26c0d5a172277fb7
parentc822c70ad377afae36f92b2e43f90475bfc9e162
 [Gather Op] add other operation types (#1329)

* [Gather Op] add uint8 operation types

This commit adds other operation types.
-uint8

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
* [Gather Op] add int32 operation types

This commit adds other operation types.
-int32

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
* [Gather Op] add an comment that explains gather operation

This commit adds comments.
- Gather of NN Runtime supports TENSOR_FLOAT32, TENSOR_QUANT8_ASYMM, TENSOR_INT32 other than TFLite.(TFLite additionaly supports kTfLiteString.)

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
27 files changed:
runtimes/nn/common/OperationsUtils.cpp
runtimes/nn/common/operations/Gather.cpp
runtimes/nn/common/operations/internal/optimized/optimized_ops.h
runtimes/tests/neural_networks_test/generated/all_generated_tests.cpp
runtimes/tests/neural_networks_test/generated/examples/gather_1D_int32.example.cpp [new file with mode: 0644]
runtimes/tests/neural_networks_test/generated/examples/gather_1D_uint8.example.cpp [new file with mode: 0644]
runtimes/tests/neural_networks_test/generated/examples/gather_2D_int32.example.cpp [new file with mode: 0644]
runtimes/tests/neural_networks_test/generated/examples/gather_2D_uint8.example.cpp [new file with mode: 0644]
runtimes/tests/neural_networks_test/generated/models/gather_1D_int32.model.cpp [new file with mode: 0644]
runtimes/tests/neural_networks_test/generated/models/gather_1D_uint8.model.cpp [new file with mode: 0644]
runtimes/tests/neural_networks_test/generated/models/gather_2D_int32.model.cpp [new file with mode: 0644]
runtimes/tests/neural_networks_test/generated/models/gather_2D_uint8.model.cpp [new file with mode: 0644]
runtimes/tests/neural_networks_test/generated/models/strided_slice.model.cpp
runtimes/tests/neural_networks_test/generated/models/strided_slice_float_1.model.cpp
runtimes/tests/neural_networks_test/generated/models/strided_slice_float_10.model.cpp
runtimes/tests/neural_networks_test/generated/models/strided_slice_float_2.model.cpp
runtimes/tests/neural_networks_test/generated/models/strided_slice_float_3.model.cpp
runtimes/tests/neural_networks_test/generated/models/strided_slice_float_4.model.cpp
runtimes/tests/neural_networks_test/generated/models/strided_slice_float_5.model.cpp
runtimes/tests/neural_networks_test/generated/models/strided_slice_float_6.model.cpp
runtimes/tests/neural_networks_test/generated/models/strided_slice_float_7.model.cpp
runtimes/tests/neural_networks_test/generated/models/strided_slice_float_8.model.cpp
runtimes/tests/neural_networks_test/generated/models/strided_slice_float_9.model.cpp
runtimes/tests/neural_networks_test/specs/Ex/gather_1D_int32.mod.py [new file with mode: 0644]
runtimes/tests/neural_networks_test/specs/Ex/gather_1D_uint8.mod.py [new file with mode: 0644]
runtimes/tests/neural_networks_test/specs/Ex/gather_2D_int32.mod.py [new file with mode: 0644]
runtimes/tests/neural_networks_test/specs/Ex/gather_2D_uint8.mod.py [new file with mode: 0644]