[property] Set common properties in layer.h
authorParichay Kapoor <pk.kapoor@samsung.com>
Mon, 6 Jul 2020 10:05:25 +0000 (19:05 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 7 Jul 2020 12:21:06 +0000 (21:21 +0900)
commit2010d24ca010386a35905f18bfce94d0ebde21ed
tree58074c1ce5551cbbdaa3a1f4c2dbeb52e0405b6d
parentb8a55d2fd6bc8fab07c5cbd4ffe3d61107ab4b56
[property] Set common properties in layer.h

Many layers has common properties which are defined in layer.h
As they are in layer.h and are expected to be used in most layers, lets set their properties in layer.h itself
This reduces a lot of redundancies
If some property is not required to be handled by a specific layer in rare case, handle it as an error in that layer itself

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
api/capi/src/nntrainer.cpp
nntrainer/include/layer.h
nntrainer/src/activation_layer.cpp
nntrainer/src/bn_layer.cpp
nntrainer/src/conv2d_layer.cpp
nntrainer/src/fc_layer.cpp
nntrainer/src/input_layer.cpp
nntrainer/src/layer.cpp
test/tizen_capi/unittest_tizen_capi.cpp
test/tizen_capi/unittest_tizen_capi_layer.cpp