25 using IRuntimePtr = std::unique_ptr<IRuntime, void(*)(IRuntime* runtime)>;
45 : m_GpuAccTunedParameters(nullptr)
46 , m_EnableGpuProfiling(
false)
47 , m_DynamicBackendsPath(
"")
64 : m_EnableProfiling(
false)
65 , m_TimelineEnabled(
false)
66 , m_OutgoingCaptureFile(
"")
67 , m_IncomingCaptureFile(
"")
70 , m_FileFormat(
"binary")
71 , m_LocalPacketHandlers()
120 static void Destroy(
IRuntime* runtime);
137 std::string& errorMessage) = 0;
141 std::string& errorMessage,
159 virtual const IDeviceSpec& GetDeviceSpec()
const = 0;
164 virtual const std::shared_ptr<IProfiler> GetProfiler(
NetworkId networkId)
const = 0;
196 UpdateTunedParameters
215 virtual void Load(
const char* filename) = 0;
219 virtual void Save(
const char* filename)
const = 0;
const bool m_ImportEnabled
std::string m_OutgoingCaptureFile
ExternalProfilingOptions()
std::unique_ptr< IRuntime, void(*)(IRuntime *runtime)> IRuntimePtr
std::vector< std::pair< LayerBindingId, class ConstTensor > > InputTensors
Copyright (c) 2020 ARM Limited.
std::string m_IncomingCaptureFile
std::function< void(LayerGuid guid, unsigned int slotIndex, ITensorHandle *tensorHandle)> DebugCallbackFunction
Define the type of callback for the Debug layer to call.
int LayerBindingId
Type of identifiers for bindable layers (inputs, outputs).
std::shared_ptr< IGpuAccTunedParameters > m_GpuAccTunedParameters
If set, uses the GpuAcc tuned parameters from the given object when executing GPU workloads...
std::vector< BackendOptions > m_BackendOptions
Pass backend specific options.
std::vector< armnn::profiling::ILocalPacketHandlerSharedPtr > m_LocalPacketHandlers
std::vector< std::pair< LayerBindingId, class Tensor > > OutputTensors
std::unique_ptr< IOptimizedNetwork, void(*)(IOptimizedNetwork *network)> IOptimizedNetworkPtr
const bool m_ExportEnabled
Device specific knowledge to be passed to the optimizer.
constexpr unsigned int LOWEST_CAPTURE_PERIOD
The lowest performance data capture interval we support is 10 miliseconds.
std::shared_ptr< IGpuAccTunedParameters > IGpuAccTunedParametersPtr
The following API is replaced by the backend options API.
INetworkProperties(bool importEnabled=false, bool exportEnabled=false)
std::string m_DynamicBackendsPath
Setting this value will override the paths set by the DYNAMIC_BACKEND_PATHS compiler directive Only a...
bool m_EnableGpuProfiling
Setting this flag will allow the user to obtain GPU profiling information from the runtime...
virtual ~IGpuAccTunedParameters()
Manages a set of GpuAcc parameters which have been tuned for maximum performance. ...
ExternalProfilingOptions m_ProfilingOptions
TensorInfo GetInputTensorInfo(const Network *network)
virtual ~INetworkProperties()