26 using IRuntimePtr = std::unique_ptr<IRuntime, void(*)(IRuntime* runtime)>;
46 : m_GpuAccTunedParameters(nullptr)
47 , m_EnableGpuProfiling(
false)
48 , m_DynamicBackendsPath(
"")
65 : m_EnableProfiling(
false)
66 , m_TimelineEnabled(
false)
67 , m_OutgoingCaptureFile(
"")
68 , m_IncomingCaptureFile(
"")
71 , m_FileFormat(
"binary")
72 , m_LocalPacketHandlers()
121 static void Destroy(
IRuntime* runtime);
138 std::string& errorMessage);
142 std::string& errorMessage,
165 const std::shared_ptr<IProfiler> GetProfiler(
NetworkId networkId)
const;
201 UpdateTunedParameters
220 virtual void Load(
const char* filename) = 0;
224 virtual void Save(
const char* filename)
const = 0;
const bool m_ImportEnabled
std::string m_OutgoingCaptureFile
TensorInfo GetInputTensorInfo(const INetwork *network)
ExternalProfilingOptions()
std::unique_ptr< IRuntime, void(*)(IRuntime *runtime)> IRuntimePtr
std::vector< std::pair< LayerBindingId, class ConstTensor > > InputTensors
Copyright (c) 2021 ARM Limited and Contributors.
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
std::unique_ptr< RuntimeImpl > pRuntimeImpl
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
virtual ~INetworkProperties()