[moco-tf] introduce as_feature_shape (#5796)
author박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 24 Jul 2019 02:15:28 +0000 (11:15 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 24 Jul 2019 02:15:28 +0000 (11:15 +0900)
commit050adc674a7065609d6a754e67f2c45118ea0c1f
tree81aa66526d646bee3be312d9bcd073c74ec5c7ae
parentda11b2424edec5af1465f96ab0d433950fd72014
[moco-tf] introduce as_feature_shape (#5796)

* [moco-tf] introduce as_feature_shape

This will introduce as_feature_shape for ShapeInferenceData that will return converted feature shape if it's tensor shape with given data layout

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* use TFDataLayout
compiler/moco-tf/src/Annotations/ShapeInferenceData.cpp
compiler/moco-tf/src/Annotations/ShapeInferenceData.h
compiler/moco-tf/src/Annotations/ShapeInferenceData.test.cpp