[neuralNet] Moving batch size property to compile time
authorParichay Kapoor <pk.kapoor@samsung.com>
Tue, 21 Jul 2020 06:46:12 +0000 (15:46 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Wed, 22 Jul 2020 00:28:12 +0000 (09:28 +0900)
commit709c9b5eb2a6eaf35a59757180c95496c0680b83
treef4d8f1e2c9bc4d98bb24151dcd78e7b5d51078b5
parent291b30e8bf2bdf18a6cac6cc3c5655d1a56e1a8e
[neuralNet] Moving batch size property to compile time

Batch size property should be set before compiling for now
Initializing of layers allocates memory for the layers
Setting batch size property with training call requires layers to be re-initialized
which isnt supported yet

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
nntrainer/src/neuralnet.cpp
test/tizen_capi/unittest_tizen_capi.cpp