nntrainer icon indicating copy to clipboard operation
nntrainer copied to clipboard

Callback support for the ini file

Open jijoongmoon opened this issue 2 years ago • 1 comments

Currently, NNtrainer only supports the file type for the dataset in ini file. However, we also have the dataset API for the callback and It needs to be supported in ini file.

May be the format might be as below.

signature needs to be

typedef int (*my_data_gen_callback)(float **input, float **label, bool * last, void *user_data)
[train_set]
type = callback
path = my_data_gen.so
signature = my_data_gen_callback

jijoongmoon avatar Jun 09 '22 04:06 jijoongmoon

:octocat: cibot: Thank you for posting issue #1923. The person in charge will reply soon.

taos-ci avatar Jun 09 '22 04:06 taos-ci