[neurun] Introduce Add operation (#3246)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Fri, 19 Oct 2018 01:33:41 +0000 (10:33 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 19 Oct 2018 01:33:41 +0000 (10:33 +0900)
commit58afa72fb764446d88e8f56ff5c6dfb43228fc25
treeb22ac53844c73ac15612f837571e03061d3d9cef
parentf05428be675e1a7b4abf8f07073974a21e90501d
[neurun] Introduce Add operation (#3246)

* [neurun] Introduce Add operation

This commit introduces Add operation. For neurun we avoid adding
operations before we fix the API for the backends, however this is an
exception for testing broadcast Add.

Backend implementations are NYI.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
* Throw `std::runtime_error`
12 files changed:
runtimes/neurun/src/backend/acl_cl/StageGenerator.cc
runtimes/neurun/src/backend/acl_cl/StageGenerator.h
runtimes/neurun/src/backend/cpu/StageGenerator.cc
runtimes/neurun/src/backend/cpu/StageGenerator.h
runtimes/neurun/src/backend/interface/IStageGenerator.h
runtimes/neurun/src/codegen/Planner.cc
runtimes/neurun/src/codegen/Planner.h
runtimes/neurun/src/graph/dumper/Dumper.cc
runtimes/neurun/src/graph/dumper/Dumper.h
runtimes/neurun/src/graph/operation/Add.cc [new file with mode: 0644]
runtimes/neurun/src/graph/operation/Add.h [new file with mode: 0644]
runtimes/neurun/src/graph/operation/NodeVisitor.h