[neurun] Do not use addTensorBuilder (#2573)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Wed, 5 Sep 2018 04:14:12 +0000 (13:14 +0900)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 5 Sep 2018 04:14:12 +0000 (13:14 +0900)
commitbe824a0eb6f224f25f6265b126f3818bcd89804b
treea8ead2900008850cebfddea9cdc7292c843dd834
parentaba71edb4feb0fa6adf03832c6179aa01ae676f8
[neurun] Do not use addTensorBuilder (#2573)

PR #2563 has introduced `IPlanBuilder::addTensorBuilder`. However
adding a call to `addTensorBuilder` for all nodes from Planner is an
overhead for development. So this commit revises to remove the calls.

However with this commit, `Linear::markTensor` method returns
`TensorBuilderSet` and passes it to `PlanBuilder::finalize`. Still
need to enhance this structure, so TODO comments are left.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/neurun/src/backend/ITensorBuilder.h
runtimes/neurun/src/codegen/IPlanBuilder.h
runtimes/neurun/src/codegen/PlanBuilder.cc
runtimes/neurun/src/codegen/PlanBuilder.h
runtimes/neurun/src/codegen/Planner.cc
runtimes/neurun/src/frontend/wrapper/compilation.cc
runtimes/neurun/src/linear/Linear.cc
runtimes/neurun/src/linear/Linear.h