[NN] call setBatchSize at init
authorJihoon Lee <jhoon.it.lee@samsung.com>
Mon, 19 Oct 2020 11:03:09 +0000 (20:03 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 20 Oct 2020 05:28:58 +0000 (14:28 +0900)
commit5780ec0a8bea9333a542d7e8904220ddebfac2ee
tree825f2a11bc68362523269f001f992b8b07bc5537
parent93d7973b97448537da92b86004a2d7489a777d5a
[NN] call setBatchSize at init

setBatchSize is not called at init which cause problem when calling
layers from outside.
This fixes the issue

**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/src/neuralnet.cpp