24 using IRuntimePtr = std::unique_ptr<IRuntime, void(*)(IRuntime* runtime)>;
44 : m_GpuAccTunedParameters(nullptr)
45 , m_EnableGpuProfiling(
false)
46 , m_DynamicBackendsPath(
"")
109 static void Destroy(
IRuntime* runtime);
126 std::string& errorMessage) = 0;
130 std::string& errorMessage,
148 virtual const IDeviceSpec& GetDeviceSpec()
const = 0;
153 virtual const std::shared_ptr<IProfiler> GetProfiler(
NetworkId networkId)
const = 0;
185 UpdateTunedParameters
204 virtual void Load(
const char* filename) = 0;
208 virtual void Save(
const char* filename)
const = 0;
virtual ~IGpuAccTunedParameters()
std::string m_IncomingCaptureFile
std::shared_ptr< IGpuAccTunedParameters > IGpuAccTunedParametersPtr
The following API is replaced by the backend options API.
std::vector< std::pair< LayerBindingId, class Tensor > > OutputTensors
TensorInfo GetInputTensorInfo(const Network *network)
INetworkProperties(bool importEnabled=false, bool exportEnabled=false)
constexpr unsigned int LOWEST_CAPTURE_PERIOD
ExternalProfilingOptions m_ProfilingOptions
ExternalProfilingOptions()
std::function< void(LayerGuid guid, unsigned int slotIndex, ITensorHandle *tensorHandle)> DebugCallbackFunction
const bool m_ExportEnabled
std::vector< std::pair< LayerBindingId, class ConstTensor > > InputTensors
const bool m_ImportEnabled
options m_EnableProfiling
bool m_EnableGpuProfiling
virtual ~INetworkProperties()
std::string m_DynamicBackendsPath
std::unique_ptr< IOptimizedNetwork, void(*)(IOptimizedNetwork *network)> IOptimizedNetworkPtr
std::shared_ptr< IGpuAccTunedParameters > m_GpuAccTunedParameters
options m_IncomingCaptureFile
options m_OutgoingCaptureFile
armnn::Runtime::CreationOptions::ExternalProfilingOptions options
std::unique_ptr< IRuntime, void(*)(IRuntime *runtime)> IRuntimePtr
std::string m_OutgoingCaptureFile
int LayerBindingId
Type of identifiers for bindable layers (inputs, outputs).
Device specific knowledge to be passed to the optimizer.
std::vector< BackendOptions > m_BackendOptions