[ Compiler ] Implement bn realizer with test
authorjijoong.moon <jijoong.moon@samsung.com>
Mon, 18 Apr 2022 05:55:34 +0000 (14:55 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 26 Apr 2022 01:36:33 +0000 (10:36 +0900)
commit9b611ed5e15eafec6ddb7df9c3b6a7b5ee31448e
treed37b5eaab2e40616a7148d6b295cafedaf4ff2d9
parent2627e79c715a42d26ba2f719e1a20957182aad0e
[ Compiler ] Implement bn realizer with test

This patch completes the bn realizer for the inference.
This path is only for the inference and therefore it supposed to 1 to
1 connection ( one input and one output for the bn layer ) in the
model graph. That means if there are multiple connections, then
multi-out layer is follows and make sure bn layer has 1 to 1
in/output during compilation.

**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>
nntrainer/compiler/bn_realizer.cpp
nntrainer/layers/layer_node.cpp
test/include/nntrainer_test_util.h
test/nntrainer_test_util.cpp
test/unittest/compiler/unittest_realizer.cpp