File RuntimeConfigList.hpp¶
↰ Parent directory (SNPE)
Contents
Definition (SNPE/RuntimeConfigList.hpp)¶
Includes¶
DlSystem/DlEnums.hpp(File DlEnums.hpp)DlSystem/PlatformConfig.hpp(File PlatformConfig.hpp)DlSystem/RuntimeList.hpp(File RuntimeList.hpp)DlSystem/TensorShapeMap.hpp(File TensorShapeMap.hpp)SNPE/RuntimeConfigList.h(File RuntimeConfigList.hpp)
Included By¶
Namespaces¶
Full File Listing¶
-
namespace PSNPE
-
struct RuntimeConfig¶
- #include <RuntimeConfigList.hpp>
Public Functions
-
RuntimeConfig()¶
-
RuntimeConfig(const RuntimeConfig &other)¶
-
RuntimeConfig(RuntimeConfig &&other) noexcept¶
-
RuntimeConfig &operator=(RuntimeConfig &&other) noexcept¶
Public Members
-
RuntimeListReference<DlSystem::RuntimeList> runtimeList = {*this}¶
-
PerfProfileReference<DlSystem::PerformanceProfile_t> perfProfile = {*this, DlSystem::PerformanceProfile_t::HIGH_PERFORMANCE}¶
-
InputDimensionsMapReference<DlSystem::TensorShapeMap> inputDimensionsMap = {*this}¶
-
EnableCPUFallbackReference<bool> enableCPUFallback = {*this, false}¶
-
PlatformConfigReference<DlSystem::PlatformConfig> platformConfig = {*this}¶
-
RuntimeConfig()¶
-
class RuntimeConfigList¶
- #include <RuntimeConfigList.hpp>
Public Functions
-
RuntimeConfigList()¶
-
RuntimeConfigList(size_t size)¶
-
RuntimeConfigList(RuntimeConfigList &&other) noexcept¶
-
RuntimeConfigList &operator=(RuntimeConfigList &&other) noexcept¶
-
RuntimeConfigList &operator=(const RuntimeConfigList &other)¶
-
void push_back(const RuntimeConfig &runtimeConfig)¶
Push runtime config into runtime config list.
- Parameters
rcHandle – [in] Handle to access the runtime config.
- Returns
Error code. Returns SNPE_SUCCESS if runtime config pushed successfully.
-
RuntimeConfig &operator[](size_t index)¶
Copy-assigns the contents of rclSrcHandle into rclDstHandle.
- Parameters
idx – [in] Destination RuntimeConfigList handle.
- Returns
SNPE_SUCCESS on successful copy-assignment.
-
const RuntimeConfig &operator[](size_t index) const¶
Copy-assigns the contents of rclSrcHandle into rclDstHandle.
- Parameters
idx – [in] Destination RuntimeConfigList handle.
- Returns
SNPE_SUCCESS on successful copy-assignment.
-
size_t size() const noexcept¶
Returns the number of runtime configs in the list.
- Returns
Returns number of entries in the runtimeConfigList.
-
size_t capacity() const noexcept¶
Returns the capacity of runtime configs in the list.
- Returns
Returns number of capacity in the runtimeConfigList.
-
void clear() noexcept¶
Removes all runtime configs from the list.
- Returns
Error code. Returns SNPE_SUCCESS if runtime config list is cleared successfully.
-
RuntimeConfigList()¶
-
struct RuntimeConfig¶