[ Graph ] Neural Network Graph
authorjijoong.moon <jijoong.moon@samsung.com>
Wed, 21 Oct 2020 02:42:22 +0000 (11:42 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Thu, 26 Nov 2020 07:27:55 +0000 (16:27 +0900)
commit64c2d4bc7ad879392301054dd20bec3c5316596b
tree99e7f56dba7ec38822f3781d7eb5f0667a324253
parent896ce2409b79865911ac5bb5de85d1853915dd9c
[ Graph ] Neural Network Graph

In this PR, NetworkGraph Class is introduced and compile method is
implemented.
During the compile process, it takes layers vector which is created by
model_loader and create required layers like Activation, Flatten,
Concat or Addition Layers. Also it modify inputs relatively and
Calculate the order of calculation. So far, only serial processing is
supported.

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
15 files changed:
jni/Android.mk
nntrainer/graph/meson.build [new file with mode: 0644]
nntrainer/graph/network_graph.cpp [new file with mode: 0644]
nntrainer/graph/network_graph.h [new file with mode: 0644]
nntrainer/layers/concat_layer.h
nntrainer/layers/layer.cpp
nntrainer/layers/layer_factory.cpp
nntrainer/layers/layer_internal.h
nntrainer/layers/meson.build
nntrainer/layers/output_layer.cpp
nntrainer/layers/output_layer.h
nntrainer/meson.build
nntrainer/models/neuralnet.cpp
nntrainer/models/neuralnet.h
test/unittest/unittest_nntrainer_graph.cpp