ArmNN
 21.11
INetworkProperties Struct Reference

#include <IRuntime.hpp>

Public Member Functions

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

Public Attributes

const bool m_ImportEnabled
 Deprecated and will be removed in future release. More...
 
const bool m_ExportEnabled
 Deprecated and will be removed in future release. More...
 
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 33 of file IRuntime.hpp.

Constructor & Destructor Documentation

◆ INetworkProperties() [1/3]

INetworkProperties ( bool  importEnabled = false,
bool  exportEnabled = false,
bool  asyncEnabled = false,
bool  profilingEnabled = false 
)
inline

Definition at line 36 of file IRuntime.hpp.

References armnn::ARMNN_DEPRECATED_MSG_REMOVAL_DATE().

40  : m_ImportEnabled(importEnabled),
41  m_ExportEnabled(exportEnabled),
42  m_AsyncEnabled(asyncEnabled),
43  m_ProfilingEnabled(profilingEnabled),
48  {}
const MemorySource m_InputSource
Definition: IRuntime.hpp:95
const bool m_ImportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:85
const ProfilingDetailsMethod m_OutputNetworkDetailsMethod
Definition: IRuntime.hpp:93
const bool m_ExternalMemoryManagementEnabled
Definition: IRuntime.hpp:98
const bool m_ExportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:87
const MemorySource m_OutputSource
Definition: IRuntime.hpp:96
const bool m_ProfilingEnabled
Definition: IRuntime.hpp:91

◆ INetworkProperties() [2/3]

INetworkProperties ( bool  asyncEnabled,
MemorySource  inputSource,
MemorySource  outputSource,
size_t  numThreads,
bool  profilingEnabled = false 
)
inline

Definition at line 51 of file IRuntime.hpp.

References armnn::IgnoreUnused().

56  : m_ImportEnabled(inputSource != MemorySource::Undefined),
58  m_AsyncEnabled(asyncEnabled),
59  m_ProfilingEnabled(profilingEnabled),
61  m_InputSource(inputSource),
62  m_OutputSource(outputSource),
64  {
65  armnn::IgnoreUnused(numThreads);
66  }
const MemorySource m_InputSource
Definition: IRuntime.hpp:95
const bool m_ImportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:85
const ProfilingDetailsMethod m_OutputNetworkDetailsMethod
Definition: IRuntime.hpp:93
void IgnoreUnused(Ts &&...)
const bool m_ExternalMemoryManagementEnabled
Definition: IRuntime.hpp:98
const bool m_ExportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:87
const MemorySource m_OutputSource
Definition: IRuntime.hpp:96
const bool m_ProfilingEnabled
Definition: IRuntime.hpp:91

◆ INetworkProperties() [3/3]

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

Definition at line 68 of file IRuntime.hpp.

74  : m_ImportEnabled(inputSource != MemorySource::Undefined),
76  m_AsyncEnabled(asyncEnabled),
77  m_ProfilingEnabled(profilingEnabled),
78  m_OutputNetworkDetailsMethod(detailsMethod),
79  m_InputSource(inputSource),
80  m_OutputSource(outputSource),
81  m_ExternalMemoryManagementEnabled(externalMemoryManagementEnabled)
82  {}
const MemorySource m_InputSource
Definition: IRuntime.hpp:95
const bool m_ImportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:85
const ProfilingDetailsMethod m_OutputNetworkDetailsMethod
Definition: IRuntime.hpp:93
const bool m_ExternalMemoryManagementEnabled
Definition: IRuntime.hpp:98
const bool m_ExportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:87
const MemorySource m_OutputSource
Definition: IRuntime.hpp:96
const bool m_ProfilingEnabled
Definition: IRuntime.hpp:91

◆ ~INetworkProperties()

virtual ~INetworkProperties ( )
inlinevirtual

Definition at line 100 of file IRuntime.hpp.

100 {}

Member Data Documentation

◆ m_AsyncEnabled

const bool m_AsyncEnabled

Definition at line 89 of file IRuntime.hpp.

Referenced by LoadedNetwork::MakeLoadedNetwork().

◆ m_ExportEnabled

const bool m_ExportEnabled

Deprecated and will be removed in future release.

Definition at line 87 of file IRuntime.hpp.

◆ m_ExternalMemoryManagementEnabled

const bool m_ExternalMemoryManagementEnabled

Definition at line 98 of file IRuntime.hpp.

◆ m_ImportEnabled

const bool m_ImportEnabled

Deprecated and will be removed in future release.

Definition at line 85 of file IRuntime.hpp.

◆ m_InputSource

const MemorySource m_InputSource

Definition at line 95 of file IRuntime.hpp.

◆ m_OutputNetworkDetailsMethod

const ProfilingDetailsMethod m_OutputNetworkDetailsMethod

Definition at line 93 of file IRuntime.hpp.

Referenced by LoadedNetwork::MakeLoadedNetwork().

◆ m_OutputSource

const MemorySource m_OutputSource

Definition at line 96 of file IRuntime.hpp.

◆ m_ProfilingEnabled

const bool m_ProfilingEnabled

Definition at line 91 of file IRuntime.hpp.

Referenced by LoadedNetwork::MakeLoadedNetwork().


The documentation for this struct was generated from the following file: