Reduce complexity of ssd_multibox example
[tidl/tidl-api.git] / tinn_api / src / executor_impl.h
index d68e965c98fa45e0cb43317d9bb9f4a1fcf1774a..704b1f7162bbd6416e4d8b04b6b983d322981fc7 100644 (file)
@@ -50,7 +50,8 @@ namespace tinn {
 class ExecutorImpl
 {
     public:
-        ExecutorImpl(DeviceType core_type, const DeviceIds& ids);
+        ExecutorImpl(DeviceType core_type, const DeviceIds& ids,
+                     int layersGroupId);
         ~ExecutorImpl() { Cleanup(); }
 
         bool Initialize(const Configuration& configuration);
@@ -64,7 +65,8 @@ class ExecutorImpl
         ExecutionObjects execution_objects_m;
 
     private:
-        void InitializeNetworkCreateParam(TIDL_CreateParams *cp);
+        void InitializeNetworkCreateParam(TIDL_CreateParams *cp,
+                                          const Configuration& configuration);
         bool InitializeNetworkParams(TIDL_CreateParams *cp);
         void Cleanup();
 
@@ -73,6 +75,7 @@ class ExecutorImpl
         up_malloc_ddr<char>  shared_networkparam_heap_m;
         DeviceIds            device_ids_m;
         DeviceType           core_type_m;
+        int                  layers_group_id_m;
 };
 
 } // namespace tinn