ArmNN
 22.11
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_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 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.

References armnn::Undefined.

51  : m_ImportEnabled(inputSource != MemorySource::Undefined),
53  m_AsyncEnabled(asyncEnabled),
54  m_ProfilingEnabled(profilingEnabled),
55  m_OutputNetworkDetailsMethod(detailsMethod),
56  m_InputSource(inputSource),
57  m_OutputSource(outputSource),
58  m_ExternalMemoryManagementEnabled(externalMemoryManagementEnabled)
59  {}
const MemorySource m_InputSource
Definition: IRuntime.hpp:72
const bool m_ImportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:62
const ProfilingDetailsMethod m_OutputNetworkDetailsMethod
Definition: IRuntime.hpp:70
const bool m_ExternalMemoryManagementEnabled
Definition: IRuntime.hpp:75
const bool m_ExportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:64
const MemorySource m_OutputSource
Definition: IRuntime.hpp:73
const bool m_ProfilingEnabled
Definition: IRuntime.hpp:68

◆ ~INetworkProperties()

virtual ~INetworkProperties ( )
inlinevirtual

Definition at line 77 of file IRuntime.hpp.

77 {}

Member Data Documentation

◆ m_AsyncEnabled

const bool m_AsyncEnabled

Definition at line 66 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 64 of file IRuntime.hpp.

◆ m_ExternalMemoryManagementEnabled

const bool m_ExternalMemoryManagementEnabled

Definition at line 75 of file IRuntime.hpp.

◆ m_ImportEnabled

const bool m_ImportEnabled

Deprecated and will be removed in future release.

Definition at line 62 of file IRuntime.hpp.

◆ m_InputSource

const MemorySource m_InputSource

Definition at line 72 of file IRuntime.hpp.

Referenced by armnn::ValidateSourcesMatchOptimizedNetwork().

◆ m_OutputNetworkDetailsMethod

const ProfilingDetailsMethod m_OutputNetworkDetailsMethod

Definition at line 70 of file IRuntime.hpp.

Referenced by LoadedNetwork::MakeLoadedNetwork().

◆ m_OutputSource

const MemorySource m_OutputSource

Definition at line 73 of file IRuntime.hpp.

Referenced by armnn::ValidateSourcesMatchOptimizedNetwork().

◆ m_ProfilingEnabled

const bool m_ProfilingEnabled

Definition at line 68 of file IRuntime.hpp.

Referenced by LoadedNetwork::MakeLoadedNetwork().


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