[exo.tflite] Manage TFLTensorIndex as annotation (#4162)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 10 Jul 2019 04:06:01 +0000 (13:06 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 10 Jul 2019 04:06:01 +0000 (13:06 +0900)
commitd2668a7732e5ef61688907a091e439032d39e64b
tree96823ffefa5a45c4b21c0d8dba8532473d899594
parentfc18bb990881e687728447260bf6419343707ba8
[exo.tflite] Manage TFLTensorIndex as annotation (#4162)

The current implementation manages TFLTensorIndex via SubGraphContext,
which necessitates some-level of indirection.

This commit makes exo-tflite to annotate each node with its tensor
index.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/exo-tflite/src/ExporterUtils.cpp
contrib/exo-tflite/src/ExporterUtils.h
contrib/exo-tflite/src/OperationExporter.cpp
contrib/exo-tflite/src/TensorExporter.cpp