[neurun] Only one item for codegen operand Context (#3043)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Wed, 10 Oct 2018 02:53:43 +0000 (11:53 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 10 Oct 2018 02:53:43 +0000 (11:53 +0900)
commitf607de26dcf88a20de5e1d303390f9253cb27c34
treecec7eff888d8393fcb1b94bfae817042feb6a680
parentdc08c121dae9c9c069f21617a535edd4df7c227e
[neurun] Only one item for codegen operand Context (#3043)

* [neurun] Only one item for codegen operand Context

Now that Permutation insertion has changed that there must be only one
`backend::operand::Object` for each operand. So this commit removes
vector container which made it one-to-many relationship between graph
operand and backend operand.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
* Add assertion

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/neurun/src/codegen/PlanBuilder.cc
runtimes/neurun/src/codegen/operand/Context.cc
runtimes/neurun/src/codegen/operand/Context.h
runtimes/neurun/src/frontend/execution.cc