ArmNN
 24.08
INetworkProperties Struct Reference

#include <IRuntime.hpp>

Public Member Functions

 INetworkProperties (bool asyncEnabled, MemorySource inputSource, MemorySource outputSource, bool profilingEnabled=false, ProfilingDetailsMethod detailsMethod=ProfilingDetailsMethod::Undefined, bool externalMemoryManagementEnabled=false)
 
virtual ~INetworkProperties ()
 

Public Attributes

const bool m_AsyncEnabled
 
const bool m_ProfilingEnabled
 
const ProfilingDetailsMethod m_OutputNetworkDetailsMethod
 
const MemorySource m_InputSource
 
const MemorySource m_OutputSource
 
const bool m_ExternalMemoryManagementEnabled
 

Detailed Description

Examples
AsyncExecutionSample.cpp, and CustomMemoryAllocatorSample.cpp.

Definition at line 43 of file IRuntime.hpp.

Constructor & Destructor Documentation

◆ INetworkProperties()

INetworkProperties ( bool  asyncEnabled,
MemorySource  inputSource,
MemorySource  outputSource,
bool  profilingEnabled = false,
ProfilingDetailsMethod  detailsMethod = ProfilingDetailsMethod::Undefined,
bool  externalMemoryManagementEnabled = false 
)
inline

Definition at line 45 of file IRuntime.hpp.

51  : m_AsyncEnabled(asyncEnabled),
52  m_ProfilingEnabled(profilingEnabled),
53  m_OutputNetworkDetailsMethod(detailsMethod),
54  m_InputSource(inputSource),
55  m_OutputSource(outputSource),
56  m_ExternalMemoryManagementEnabled(externalMemoryManagementEnabled)
57  {}

◆ ~INetworkProperties()

virtual ~INetworkProperties ( )
inlinevirtual

Definition at line 70 of file IRuntime.hpp.

70 {}

Member Data Documentation

◆ m_AsyncEnabled

const bool m_AsyncEnabled

◆ m_ExternalMemoryManagementEnabled

const bool m_ExternalMemoryManagementEnabled

Definition at line 68 of file IRuntime.hpp.

◆ m_InputSource

const MemorySource m_InputSource

Definition at line 65 of file IRuntime.hpp.

Referenced by LoadedNetwork::ImportInputs().

◆ m_OutputNetworkDetailsMethod

const ProfilingDetailsMethod m_OutputNetworkDetailsMethod

Definition at line 63 of file IRuntime.hpp.

◆ m_OutputSource

const MemorySource m_OutputSource

Definition at line 66 of file IRuntime.hpp.

Referenced by LoadedNetwork::Execute().

◆ m_ProfilingEnabled

const bool m_ProfilingEnabled

Definition at line 61 of file IRuntime.hpp.


The documentation for this struct was generated from the following file:
armnn::INetworkProperties::m_AsyncEnabled
const bool m_AsyncEnabled
Definition: IRuntime.hpp:59
armnn::INetworkProperties::m_InputSource
const MemorySource m_InputSource
Definition: IRuntime.hpp:65
armnn::INetworkProperties::m_ProfilingEnabled
const bool m_ProfilingEnabled
Definition: IRuntime.hpp:61
armnn::INetworkProperties::m_ExternalMemoryManagementEnabled
const bool m_ExternalMemoryManagementEnabled
Definition: IRuntime.hpp:68
armnn::INetworkProperties::m_OutputNetworkDetailsMethod
const ProfilingDetailsMethod m_OutputNetworkDetailsMethod
Definition: IRuntime.hpp:63
armnn::INetworkProperties::m_OutputSource
const MemorySource m_OutputSource
Definition: IRuntime.hpp:66