ONE - On-device Neural Engine
Loading...
Searching...
No Matches
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 42 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 51 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 46 of file TensorManager.h.

◆ MemoryManager

◆ TensorBuilder

◆ TensorManager

Function Documentation

◆ createTensorManager()

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

Definition at line 58 of file TensorManager.h.

59{
60 if (is_linear_executor)
61 {
62 VERBOSE(acl_neon_createTensorManager) << "AclTensorManager as Linear" << std::endl;
63 return new TensorManager(new MemoryManager(), new LinearMemoryManager(),
65 }
66 else
67 {
68 VERBOSE(acl_neon_createTensorManager) << "AclTensorManager" << std::endl;
69 return new TensorManager(new MemoryManager(), new MemoryManager(), new InternalBufferManager());
70 }
71}
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().