24 using IRuntimePtr = std::unique_ptr<IRuntime, void(*)(IRuntime* runtime)>;
44 : m_GpuAccTunedParameters(nullptr)
45 , m_EnableGpuProfiling(
false)
46 , m_DynamicBackendsPath(
"")
113 static void Destroy(
IRuntime* runtime);
130 std::string& errorMessage) = 0;
134 std::string& errorMessage,
152 virtual const IDeviceSpec& GetDeviceSpec()
const = 0;
157 virtual const std::shared_ptr<IProfiler> GetProfiler(
NetworkId networkId)
const = 0;
189 UpdateTunedParameters
208 virtual void Load(
const char* filename) = 0;
212 virtual void Save(
const char* filename)
const = 0;
options m_EnableProfiling
const bool m_ImportEnabled
std::string m_OutgoingCaptureFile
options m_IncomingCaptureFile
ExternalProfilingOptions()
std::unique_ptr< IRuntime, void(*)(IRuntime *runtime)> IRuntimePtr
options m_OutgoingCaptureFile
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< 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. ...
armnn::Runtime::CreationOptions::ExternalProfilingOptions options
ExternalProfilingOptions m_ProfilingOptions
TensorInfo GetInputTensorInfo(const Network *network)
virtual ~INetworkProperties()