[neurun] Update Plan and TensorBuilder role (#3011)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Tue, 9 Oct 2018 23:56:55 +0000 (08:56 +0900)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Tue, 9 Oct 2018 23:56:55 +0000 (08:56 +0900)
commita2b8ab903829362e1cc6b1886b13189d295d46ab
treee2365dc85cb4c0641005f7c0e7f4225b81a676b0
parent05141baf820c2cb78e3f654cfb289cf831cb76dc
[neurun] Update Plan and TensorBuilder role (#3011)

Update `ITensorBuilder::prepare` not to depend on `Plan` object.

In order to do that, Introduce `wrapTensor` and `iterate` interfaces for
`ITensorBuilder`.

Resolve #2746

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/neurun/src/backend/ITensorBuilder.h
runtimes/neurun/src/backend/acl_cl/TensorBuilder.cc
runtimes/neurun/src/backend/acl_cl/TensorBuilder.h
runtimes/neurun/src/backend/cpu/TensorBuilder.cc
runtimes/neurun/src/backend/cpu/TensorBuilder.h
runtimes/neurun/src/codegen/PlanBuilder.cc