index 0763dae49e1cfc1ac74465b143139b2181d9043d..088a6291a413af379087acc12d7005826b293128 100644 (file)
#include <string>
#include <iostream>
-namespace tidl {
+namespace tinn {
/*! @class Configuration
@brief Specifies the configuration required for a network
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;
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;