ONE - On-device Neural Engine
|
#include <AclBackendContext.h>
Public Member Functions | |
AclBackendContext (const Backend *backend, ContextData &&data, std::shared_ptr< ITensorRegistry > tensor_registry=nullptr, std::shared_ptr< T_TensorBuilder > tensor_builder=nullptr, std::shared_ptr< T_ConstantInitializer > constant_initializer=nullptr, std::shared_ptr< T_KernelGenerator > kernel_gen=nullptr) | |
ITensorRegistry * | genTensors () override |
Public Member Functions inherited from onert::backend::cl_common::BackendContext< T_TensorBuilder, T_ConstantInitializer, T_KernelGenerator > | |
BackendContext (const Backend *backend, ContextData &&data, std::shared_ptr< ITensorRegistry > tensor_registry=nullptr, std::shared_ptr< T_TensorBuilder > tensor_builder=nullptr, std::shared_ptr< T_ConstantInitializer > constant_initializer=nullptr, std::shared_ptr< T_KernelGenerator > kernel_gen=nullptr) | |
FunctionMap | genKernels () override |
Public Member Functions inherited from onert::backend::BackendContext | |
BackendContext (const Backend *backend, ContextData &&data, std::shared_ptr< ITensorRegistry > tensor_registry=nullptr) | |
virtual | ~BackendContext ()=default |
const Backend * | backend () const |
const ir::Graph * | graph () const |
const util::Set< ir::OperandIndex > & | external_operands () const |
const ContextData & | data () const |
Data Fields | |
std::shared_ptr< T_Optimizer > | optimizer |
Data Fields inherited from onert::backend::cl_common::BackendContext< T_TensorBuilder, T_ConstantInitializer, T_KernelGenerator > | |
std::shared_ptr< T_TensorBuilder > | tensor_builder |
std::shared_ptr< T_ConstantInitializer > | constant_initializer |
std::shared_ptr< T_KernelGenerator > | kernel_gen |
Data Fields inherited from onert::backend::BackendContext | |
std::shared_ptr< ITensorRegistry > | tensor_registry |
Protected Member Functions | |
void | registerTensorInfo (const ir::OperandIndex &ind, const ir::OperandInfo &info) override |
Protected Member Functions inherited from onert::backend::cl_common::BackendContext< T_TensorBuilder, T_ConstantInitializer, T_KernelGenerator > | |
void | initConsts () |
void | planTensors () |
Additional Inherited Members | |
Protected Attributes inherited from onert::backend::BackendContext | |
const Backend * | _backend {nullptr} |
ContextData | _data |
Definition at line 38 of file AclBackendContext.h.
|
inline |
Definition at line 43 of file AclBackendContext.h.
|
inlineoverridevirtual |
Implements onert::backend::BackendContext.
Definition at line 55 of file AclBackendContext.h.
References onert::backend::BackendContext::external_operands(), onert::util::getConfigString(), onert::backend::BackendContext::graph(), onert::util::ObjectManager< Index, Object >::iterate(), onert::ir::Graph::operands(), onert::backend::acl_common::AclBackendContext< T_TensorBuilder, T_ConstantInitializer, T_KernelGenerator, T_Optimizer >::optimizer, onert::backend::cl_common::BackendContext< T_TensorBuilder, T_ConstantInitializer, T_KernelGenerator >::planTensors(), onert::backend::cl_common::BackendContext< T_TensorBuilder, T_ConstantInitializer, T_KernelGenerator >::tensor_builder, and onert::backend::BackendContext::tensor_registry.
|
inlineoverrideprotectedvirtual |
Implements onert::backend::cl_common::BackendContext< T_TensorBuilder, T_ConstantInitializer, T_KernelGenerator >.
Definition at line 89 of file AclBackendContext.h.
References info, and onert::backend::cl_common::BackendContext< T_TensorBuilder, T_ConstantInitializer, T_KernelGenerator >::tensor_builder.
std::shared_ptr<T_Optimizer> onert::backend::acl_common::AclBackendContext< T_TensorBuilder, T_ConstantInitializer, T_KernelGenerator, T_Optimizer >::optimizer |
Definition at line 96 of file AclBackendContext.h.
Referenced by onert::backend::acl_common::AclBackendContext< T_TensorBuilder, T_ConstantInitializer, T_KernelGenerator, T_Optimizer >::genTensors().