[neurun] Introduce ExecutorBase (#4483)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Mon, 25 Feb 2019 07:25:36 +0000 (16:25 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 25 Feb 2019 07:25:36 +0000 (16:25 +0900)
commitdcfe66c6ff7c98fdcaf127581bd140a0e8dde12b
treefb24c31dfc0ea4f109945422c059addf54778394
parent1ad6bc3a3747d67cd9813fd47d1375fd4d2bb8c1
[neurun] Introduce ExecutorBase (#4483)

This commit introduces `ExecutorBase` class which a subclass of
`IExecutor` for the convenience of setting inputs/outputs.
`ExecutorBase` does not depend on `Plan`, which make it possible to
implement `DataflowExecutor` without `Plan`.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
14 files changed:
runtimes/neurun/src/compiler/Compiler.cc
runtimes/neurun/src/compiler/Compiler.h
runtimes/neurun/src/compiler/Plan.h
runtimes/neurun/src/exec/Executor.cc
runtimes/neurun/src/exec/Executor.h
runtimes/neurun/src/exec/ExecutorBase.cc [new file with mode: 0644]
runtimes/neurun/src/exec/ExecutorBase.h [new file with mode: 0644]
runtimes/neurun/src/exec/IExecutor.h
runtimes/neurun/src/exec/Source.h
runtimes/neurun/src/frontend/execution.cc
runtimes/neurun/src/frontend/wrapper/compilation.h
runtimes/neurun/src/frontend/wrapper/execution.cc
runtimes/neurun/src/frontend/wrapper/execution.h
runtimes/neurun/src/graph/Graph.h