ArmNN
 21.08
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, bool outputDetails=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 bool m_OutputNetworkDetails
 
const MemorySource m_InputSource
 
const MemorySource m_OutputSource
 

Detailed Description

Examples:
CustomMemoryAllocatorSample.cpp.

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

References ARMNN_DEPRECATED_MSG.

39  : m_ImportEnabled(importEnabled),
40  m_ExportEnabled(exportEnabled),
41  m_AsyncEnabled(asyncEnabled),
42  m_ProfilingEnabled(profilingEnabled),
46  {}
const MemorySource m_InputSource
Definition: IRuntime.hpp:90
const bool m_ImportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:80
const bool m_ExportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:82
const bool m_OutputNetworkDetails
Definition: IRuntime.hpp:88
const MemorySource m_OutputSource
Definition: IRuntime.hpp:91
const bool m_ProfilingEnabled
Definition: IRuntime.hpp:86

◆ INetworkProperties() [2/3]

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

Definition at line 49 of file IRuntime.hpp.

References armnn::IgnoreUnused().

54  : m_ImportEnabled(inputSource != MemorySource::Undefined),
56  m_AsyncEnabled(asyncEnabled),
57  m_ProfilingEnabled(profilingEnabled),
59  m_InputSource(inputSource),
60  m_OutputSource(outputSource)
61  {
62  armnn::IgnoreUnused(numThreads);
63  }
const MemorySource m_InputSource
Definition: IRuntime.hpp:90
const bool m_ImportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:80
void IgnoreUnused(Ts &&...)
const bool m_ExportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:82
const bool m_OutputNetworkDetails
Definition: IRuntime.hpp:88
const MemorySource m_OutputSource
Definition: IRuntime.hpp:91
const bool m_ProfilingEnabled
Definition: IRuntime.hpp:86

◆ INetworkProperties() [3/3]

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

Definition at line 65 of file IRuntime.hpp.

70  : m_ImportEnabled(inputSource != MemorySource::Undefined),
72  m_AsyncEnabled(asyncEnabled),
73  m_ProfilingEnabled(profilingEnabled),
74  m_OutputNetworkDetails(outputDetails),
75  m_InputSource(inputSource),
76  m_OutputSource(outputSource)
77  {}
const MemorySource m_InputSource
Definition: IRuntime.hpp:90
const bool m_ImportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:80
const bool m_ExportEnabled
Deprecated and will be removed in future release.
Definition: IRuntime.hpp:82
const bool m_OutputNetworkDetails
Definition: IRuntime.hpp:88
const MemorySource m_OutputSource
Definition: IRuntime.hpp:91
const bool m_ProfilingEnabled
Definition: IRuntime.hpp:86

◆ ~INetworkProperties()

virtual ~INetworkProperties ( )
inlinevirtual

Definition at line 93 of file IRuntime.hpp.

93 {}

Member Data Documentation

◆ m_AsyncEnabled

const bool m_AsyncEnabled

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

◆ m_ImportEnabled

const bool m_ImportEnabled

Deprecated and will be removed in future release.

Definition at line 80 of file IRuntime.hpp.

◆ m_InputSource

const MemorySource m_InputSource

Definition at line 90 of file IRuntime.hpp.

◆ m_OutputNetworkDetails

const bool m_OutputNetworkDetails

Definition at line 88 of file IRuntime.hpp.

Referenced by LoadedNetwork::MakeLoadedNetwork().

◆ m_OutputSource

const MemorySource m_OutputSource

Definition at line 91 of file IRuntime.hpp.

◆ m_ProfilingEnabled

const bool m_ProfilingEnabled

Definition at line 86 of file IRuntime.hpp.

Referenced by LoadedNetwork::MakeLoadedNetwork().


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