[neurun] Use legacy tflite method in ConvolutionLayer for cpu (#4416)
author김수진/On-Device Lab(SR)/Engineer/삼성전자 <sjsujin.kim@samsung.com>
Tue, 19 Feb 2019 01:11:39 +0000 (10:11 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 19 Feb 2019 01:11:39 +0000 (10:11 +0900)
commit703db79b8efc5be3d9d1517e7b0a04806366c07a
tree8418fd1ce0e8a131d16199b85ae8ad0db21cc70c
parentf45f9d68fd0c394b6a471ad9c68698909fd86253
[neurun] Use legacy tflite method in ConvolutionLayer for cpu (#4416)

As we've updated the tensorflow to v1.12, `ConvolutionLayer` kernel for `cpu` was updated.

However,`ConvolutionLayer` of cpu kernel for `quant8` makes wrong matching results when running genereated tests.
Legacy methods of that work well for `quant8`.

`Android NN` master barnch Conv2D also keep using legacy methods.
For consistency and being useful to support `quant8`, we can use legacy methods instead of newly added methods.

(Added TODO comment about changing to new version)

Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
runtimes/neurun/src/backend/cpu/kernel/ConvolutionLayer.cc
tests/nnapi/nnapi_gtest.skip.armv7l-linux.neurun.cpu