[ModelLoader] Use vector<string> when create layer
authorJihoon Lee <jhoon.it.lee@samsung.com>
Fri, 27 Nov 2020 08:30:47 +0000 (17:30 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 30 Nov 2020 07:04:26 +0000 (16:04 +0900)
commitc482b87358a1704c1c46aaf539c2e10075831eba
tree513d0b65c1a481974ff318d88012cb1fab8dfd69
parenta7f36ae9c1b64753b2e53df826ad20aabdb31451
[ModelLoader] Use vector<string> when create layer

When creating a layer from an ini, enum based properties were used.
This prevents adding a new properties without changing the api header.

This patch moves to setting layer properties to vector<string>
to enable setting properties without changing the api header, eventually
 enabling custom properties in custom layer.

**Semantics Change propesed in this PR**
Ini won't ignore the properties that is not supported since model_loader
would not know if it is supported or not

See also #716

**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/layers/layer.cpp
nntrainer/models/model_loader.cpp
nntrainer/models/model_loader.h
nntrainer/models/neuralnet.cpp
test/unittest/unittest_nntrainer_internal.cpp