[neurun] Encapsulate Linear IR (#2350)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Mon, 20 Aug 2018 02:55:08 +0000 (11:55 +0900)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Mon, 20 Aug 2018 02:55:08 +0000 (11:55 +0900)
commit027199610ce1e38f1a9b4b6958cd10203efc9cee
tree9f9ffa062f7d1a8fcfa17f6ea661476523e30f3a
parentd8b496bc54266b1e087cc9bb84b555a159a0f0a8
[neurun] Encapsulate Linear IR (#2350)

So far Linear IR was a vector of Node elements but this commit
encapsulates it into a class. Also this commit introduces a new phase
for Graph `LINEARIZED` which indicates that the Graph IR is no longer
valid and all data structures are moved to `Linear` object. For now
nothing is moved yet, but will in the future.

Resolve #2320

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/neurun/CMakeLists.txt
runtimes/neurun/src/compilation.cc
runtimes/neurun/src/graph/Graph.cc
runtimes/neurun/src/graph/Graph.h
runtimes/neurun/src/linear/Linear.cc [new file with mode: 0644]
runtimes/neurun/src/linear/Linear.h [new file with mode: 0644]