[model_parser] Read BuiltinOptions dynamically (#2094)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Mon, 30 Jul 2018 04:19:36 +0000 (13:19 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 30 Jul 2018 04:19:36 +0000 (13:19 +0900)
commit6d18dce4a4c84f75b761c3265a7418a54edcfe64
treeef347237036c7335580b65e7a76e9b2deb2a2c6e
parentc1f2737e0bb3fbe3c6b3bdefef7472f863fa4192
[model_parser] Read BuiltinOptions dynamically (#2094)

This commit removes the hardcoded implementation of BuiltinOptions
Generator table. It now reads the list of Builtin Options from
`BuiltinOptions.py` and automatically imports the corresponding
classes and build the generator map dynamically. All these were
possible with reflection.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
tools/tflitefile_tool/operator_wrapping.py