Follow-up after #308
authorJihoon Lee <jhoon.it.lee@samsung.com>
Thu, 16 Jul 2020 02:50:15 +0000 (11:50 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Thu, 16 Jul 2020 10:02:08 +0000 (19:02 +0900)
commit3dadc735f59f4801b862fcc02fc18c141c1aaca7
tree4fb87aec54ea92b2f2cf29752d640a39f64a35af
parent4a86fc465451b5dd23a284ac7aaaf61a1bc6aec3
Follow-up after #308

**Changes proposed in this PR:**
- Now friendship between layer and network is over
- Move `setProperty(propType)` to public
- Add custom exception in `_error.h`
- Change `setProperty` `std::out_of_range` ->
`exception::invalid_property`
- Add error code boundary to `nntrainer_exception_boundary`
- Change inherited docs to @copydoc

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

resolves #315

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
14 files changed:
api/capi/src/nntrainer.cpp
nntrainer/include/bn_layer.h
nntrainer/include/conv2d_layer.h
nntrainer/include/fc_layer.h
nntrainer/include/flatten_layer.h
nntrainer/include/input_layer.h
nntrainer/include/layer.h
nntrainer/include/loss_layer.h
nntrainer/include/nntrainer_error.h
nntrainer/include/pooling2d_layer.h
nntrainer/src/conv2d_layer.cpp
nntrainer/src/flatten_layer.cpp
nntrainer/src/layer.cpp
nntrainer/src/neuralnet.cpp