[Dataset] Change finalize signature
authorJihoon Lee <jhoon.it.lee@samsung.com>
Wed, 11 Aug 2021 05:40:14 +0000 (14:40 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 24 Aug 2021 05:15:09 +0000 (14:15 +0900)
commit227487ca17bfb6917de06a6c81ee2f1d8845d9ff
tree03553cccde3f87c9b4eec1c9a71cabd9909ed143
parentcff87b3cb2f309db2c0fa111cd789eacfffe2a41
[Dataset] Change finalize signature

This patch changes finalize signature to contain user_data,
user_data will be needed to replicate the current worker(with diffrent
arguments) in case of
MT_safty is not provided by the producer. Please note that this does not
change any current behavior but the preparation for the future
enhancements.

**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/dataset/data_producers.h
nntrainer/dataset/func_data_producer.cpp
nntrainer/dataset/func_data_producer.h
nntrainer/dataset/random_data_producers.cpp
nntrainer/dataset/random_data_producers.h
nntrainer/dataset/raw_file_data_producer.cpp
nntrainer/dataset/raw_file_data_producer.h