ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
onert::backend::acl_neon Namespace Reference

Namespaces

namespace  operand
 

Data Structures

class  Backend
 
class  Config
 
class  ConstantInitializer
 
class  KernelGenerator
 
class  Optimizer
 

Typedefs

using BackendContext = acl_common::AclBackendContext< TensorBuilder, ConstantInitializer, KernelGenerator, Optimizer >
 
using ActivationBuilder = ::onert::backend::acl_common::AclActivationBuilder< ::arm_compute::ITensor, ::arm_compute::NEActivationLayer, acl_common::AclFunction >
 
using TensorBuilder = acl_common::AclTensorBuilder< operand::INETensor, operand::NETensor, operand::NESubTensor >
 
using MemoryManager = acl_common::AclMemoryManager< operand::INETensor, operand::NETensor, operand::NESubTensor >
 
using LinearMemoryManager = acl_common::AclLinearMemoryManager< operand::INETensor, operand::NETensor, operand::NESubTensor, ::arm_compute::MemoryManagerOnDemand, ::arm_compute::PoolManager, ::arm_compute::OffsetLifetimeManager, ::arm_compute::Allocator, ::arm_compute::MemoryGroup >
 
using InternalBufferManager = acl_common::AclInternalBufferManager< ::arm_compute::MemoryManagerOnDemand, ::arm_compute::PoolManager, ::arm_compute::OffsetLifetimeManager, ::arm_compute::Allocator >
 
using TensorManager = acl_common::AclTensorManager< acl_neon::operand::INETensor, operand::NETensor, operand::NESubTensor >
 

Functions

TensorManagercreateTensorManager (bool is_linear_executor)
 

Typedef Documentation

◆ ActivationBuilder

using onert::backend::acl_neon::ActivationBuilder = typedef ::onert::backend::acl_common::AclActivationBuilder< ::arm_compute::ITensor, ::arm_compute::NEActivationLayer, acl_common::AclFunction>

Definition at line 38 of file KernelGenerator.cc.

◆ BackendContext

◆ InternalBufferManager

using onert::backend::acl_neon::InternalBufferManager = typedef acl_common::AclInternalBufferManager< ::arm_compute::MemoryManagerOnDemand, ::arm_compute::PoolManager, ::arm_compute::OffsetLifetimeManager, ::arm_compute::Allocator>

Definition at line 47 of file TensorManager.h.

◆ LinearMemoryManager

using onert::backend::acl_neon::LinearMemoryManager = typedef acl_common::AclLinearMemoryManager< operand::INETensor, operand::NETensor, operand::NESubTensor, ::arm_compute::MemoryManagerOnDemand, ::arm_compute::PoolManager, ::arm_compute::OffsetLifetimeManager, ::arm_compute::Allocator, ::arm_compute::MemoryGroup>

Definition at line 42 of file TensorManager.h.

◆ MemoryManager

◆ TensorBuilder

◆ TensorManager

Function Documentation

◆ createTensorManager()

TensorManager * onert::backend::acl_neon::createTensorManager ( bool  is_linear_executor)
inline

Definition at line 54 of file TensorManager.h.

55{
56 if (is_linear_executor)
57 {
58 VERBOSE(acl_neon_createTensorManager) << "AclTensorManager as Linear" << std::endl;
59 return new TensorManager(new MemoryManager(), new LinearMemoryManager(),
61 }
62 else
63 {
64 VERBOSE(acl_neon_createTensorManager) << "AclTensorManager" << std::endl;
65 return new TensorManager(new MemoryManager(), new MemoryManager(), new InternalBufferManager());
66 }
67}
class for InternalBufferManager which has arm_compute::IMemoryManager pointer
#define VERBOSE(name, lv)
Definition Log.h:71

References VERBOSE.

Referenced by onert::backend::acl_neon::Backend::newContext().