Refactor neuralnet::init
authorJihoon Lee <jhoon.it.lee@samsung.com>
Wed, 29 Jul 2020 11:34:24 +0000 (20:34 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 4 Aug 2020 04:55:19 +0000 (13:55 +0900)
commitab3233063330f464c0c2e0ea2ab016240f6935b4
tree7d548e87d2eb526dd2df74c7f0ba4bb6eec51493
parent236f4d889c9f04020cf9583d979b8118ef57c11d
Refactor neuralnet::init

**Changes proposed in this PR:**
- Add determinancy and check to
- Delete cost / bn_follow from layer
- Enable negative test for modelfile
- fix IniSection::setEntry is wrongly using key for an erase behavior
- Delete `VERIFY_SET_DIMENSION()`

Resolves #316
See also #374

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

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
nntrainer/include/layer.h
nntrainer/include/loss_layer.h
nntrainer/src/fc_layer.cpp
nntrainer/src/layer.cpp
nntrainer/src/loss_layer.cpp
nntrainer/src/neuralnet.cpp
test/meson.build
test/nntrainer_test_util.cpp
test/unittest/unittest_nntrainer_modelfile.cpp