Reduce complexity of ssd_multibox example
[tidl/tidl-api.git] / tinn_api / inc / configuration.h
index 52c8fcf09c616505bcc03707c37e2b8ff396aa8e..088a6291a413af379087acc12d7005826b293128 100644 (file)
@@ -55,6 +55,17 @@ class Configuration
     int     inNumChannels;
     int     noZeroCoeffsPercentage;
 
+    //! Pre-processing type applied to the input frame
+    //! Specific to each network, can take values from 0 to 4, default is 0
+    int     preProcType;
+
+    //! Force to run all layers, regardless of layersGroupId partitioning
+    int     runFullNet;
+
+    //! When set, inputs are taken from TIDL internal buffers that contain
+    //! outputs of previous layersGroupId, instead of from user application
+    int     enableInternalInput;
+
     //! Size of the TI DL per Execution Object heap
     size_t EXTMEM_HEAP_SIZE;
 
@@ -76,12 +87,7 @@ class Configuration
     std::string paramsBinFile;
 
     //! Default constructor.
-    Configuration(): numFrames(0), inHeight(0), inWidth(0),
-                     inNumChannels(0),
-                     noZeroCoeffsPercentage(100),
-                     EXTMEM_HEAP_SIZE(64 << 20),  // 64MB for inceptionNetv1
-                     PARAM_HEAP_SIZE(9 << 20)     // 9MB for mobileNet1
-    {}
+    Configuration();
 
     //! Validate the fields in the configuration object
     bool Validate() const;