Using 1D array to get the data from user function
authorjijoong.moon <jijoong.moon@samsung.com>
Fri, 22 May 2020 10:02:09 +0000 (19:02 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 25 May 2020 04:37:25 +0000 (13:37 +0900)
commit2bbfed85929781995cd45f496deec5117d7212d3
tree8cc042c34ea04f604a94f157f73677d377f7c8e0
parent42b8e2dae98b809f310c52c682ac60ec4afd590e
Using 1D array to get the data from user function

It is not good to get the user data as 3D std::vector format. C does
not support it. Therefore it is much better to get the data as 1D
float array (float *). In this PR, re-define function pointer to get
data as float * format.

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

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
Applications/Classification/jni/main_func.cpp
nntrainer/include/databuffer_func.h
nntrainer/include/neuralnet.h
nntrainer/src/databuffer_func.cpp
nntrainer/src/neuralnet.cpp