[ml-service] Add training offloading service to ml-service
authorhyunil park <hyunil46.park@samsung.com>
Wed, 6 Mar 2024 08:34:56 +0000 (17:34 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 9 Apr 2024 07:36:13 +0000 (16:36 +0900)
commit50ff4121083563b09abdd59d119246d07344d6b5
tree3c18a6eee65a8151fa91ddbd8735893f6305957d
parent8b4770b60f91810965299c4122ecf605fce67e9e
[ml-service] Add training offloading service to ml-service

- Add function for training offloading
- Add function to transfer trained model
- Add node information to transmitted pipeline information
- set sink callback by node name of node information
- Add stop func for ready to complete model training
- Add test case

Signed-off-by: hyunil park <hyunil46.park@samsung.com>
15 files changed:
c/src/meson.build
c/src/ml-api-service-offloading.c
c/src/ml-api-service-offloading.h
c/src/ml-api-service-training-offloading.c [new file with mode: 0644]
c/src/ml-api-service-training-offloading.h [new file with mode: 0644]
c/src/ml-api-service.c
packaging/machine-learning-api.spec
tests/capi/meson.build
tests/capi/unittest_capi_service_training_offloading.cc [new file with mode: 0644]
tests/test_models/config/training_offloading_receiver.conf [new file with mode: 0644]
tests/test_models/config/training_offloading_sender.conf [new file with mode: 0644]
tests/test_models/models/mnist.data [new file with mode: 0644]
tests/test_models/models/mnist.ini [new file with mode: 0644]
tests/test_models/models/mnist.json [new file with mode: 0644]
tests/test_models/models/pretrained-mnist.bin [new file with mode: 0644]