[ML] Added placeholders for further development 76/251876/3
authorPiotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Wed, 20 Jan 2021 07:39:32 +0000 (08:39 +0100)
committerPiotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Wed, 20 Jan 2021 09:38:47 +0000 (10:38 +0100)
[Verification] Code compiles without errors

Change-Id: I2b69891c596e31ae87fb519b60aa3811e949c5d5

src/ml/js/ml_single.js
src/ml/ml.gyp
src/ml/ml_instance.cc
src/ml/ml_instance.h

index 923af0a928c89be79b5a5be052f8acead52350ed..f9aa0d82a8025a46d5c01d61c04ef7c21d6ed1ef 100755 (executable)
 
 var MachineLearningSingle = function() {};
 
-// ML Single API
+// MachineLearningSingle::openModel()
+
+// MachineLearningSingle::openModelAsync()
+
+// OpenModelSuccessCallback
+
+// SingleShot interface (input & output)
+
+// SingleShot::invoke()
+
+// SingleShot::getValue()
+
+// SingleShot::setValue()
+
+// SingleShot::setTimeout()
+
+// SingleShot::close()
index c959f43030c0b62c914fb21447109249c8ad2d8a..a8fb82f2dddfe7814d3a015bfc5b546a74728ee4 100644 (file)
         'ml_pipeline_nodeinfo.h',
         'ml_pipeline_switch.cc',
         'ml_pipeline_switch.h',
+        #TODO pipeline Source
+        #TODO pipeline Valve
         'ml_tensors_info_manager.cc',
         'ml_tensors_info_manager.h',
+        #TODO single SingleShotManager
+        #TODO single SingleShot
         'ml_utils.cc',
         'ml_utils.h',
       ],
index f1ce1f9e9bf5408d5ea8633870eaf8b17a9f80c8..1677d3890938ed6000f7aec82ee84d932d188728 100644 (file)
@@ -89,6 +89,16 @@ MlInstance::MlInstance() : pipeline_manager_{this} {
   REGISTER_METHOD(MLTensorsInfoDispose);
 
   // Single API begin
+  // MachineLearningSingle::openModel()
+  // MachineLearningSingle::openModelAsync()
+  // OpenModelSuccessCallback
+  // SingleShot input
+  // SingleShot output
+  // SingleShot::invoke()
+  // SingleShot::getValue()
+  // SingleShot::setValue()
+  // SingleShot::setTimeout()
+  // SingleShot::close()
 
   // Single API end
 
@@ -524,6 +534,26 @@ void MlInstance::MLTensorsInfoDispose(const picojson::value& args, picojson::obj
 
 // Single API begin
 
+// MachineLearningSingle::openModel()
+
+// MachineLearningSingle::openModelAsync()
+
+// OpenModelSuccessCallback
+
+// SingleShot input
+
+// SingleShot output
+
+// SingleShot::invoke()
+
+// SingleShot::getValue()
+
+// SingleShot::setValue()
+
+// SingleShot::setTimeout()
+
+// SingleShot::close()
+
 // Single API end
 
 // Pipeline API begin
index 08e6dc82fc4eb520f5f0d6938c753555e93f510d..d511e8dac2ad939789edfb31fc1c041b0effe501 100644 (file)
@@ -54,7 +54,16 @@ class MlInstance : public common::ParsedInstance {
   // Common ML API end
 
   // Single API begin
-
+  // MachineLearningSingle::openModel()
+  // MachineLearningSingle::openModelAsync()
+  // OpenModelSuccessCallback
+  // SingleShot input
+  // SingleShot output
+  // SingleShot::invoke()
+  // SingleShot::getValue()
+  // SingleShot::setValue()
+  // SingleShot::setTimeout()
+  // SingleShot::close()
   // Single API end
 
   // Pipeline API begin