24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_GRAPH_NEDEVICEBACKEND_H
25 #define ARM_COMPUTE_GRAPH_NEDEVICEBACKEND_H
49 std::unique_ptr<ITensorHandle>
63 #endif //ARM_COMPUTE_GRAPH_NEDEVICEBACKEND_H
void setup_backend_context(GraphContext &ctx) override
Setups the given graph context.
void release_backend_context(GraphContext &ctx) override
Release the backend specific resources associated to a given graph context.
void initialize_backend() override
Initializes the backend.
Device backend interface.
std::shared_ptr< arm_compute::IMemoryManager > create_memory_manager(MemoryManagerAffinity affinity) override
Create a backend memory manager given its affinity.
void sync() override
Synchronize kernels execution on the backend.
std::unique_ptr< ITensorHandle > create_tensor(const Tensor &tensor) override
Create a backend Tensor.
MemoryManagerAffinity
Backend Memory Manager affinity.
std::unique_ptr< ITensorHandle > create_subtensor(ITensorHandle *parent, TensorShape shape, Coordinates coords, bool extend_parent) override
Create a backend Sub-Tensor.
Status validate_node(INode &node) override
Validate a node.
CLTensor * tensor
Pointer to the auxiliary tensor.
std::unique_ptr< arm_compute::IFunction > configure_node(INode &node, GraphContext &ctx) override
Configure a backend Node.
IAllocator * backend_allocator() override
Gets a backend memory allocator.
Default malloc allocator implementation.
Copyright (c) 2017-2024 Arm Limited.
std::shared_ptr< arm_compute::IWeightsManager > create_weights_manager() override
Create a backend weights manager.
bool is_backend_supported() override
Checks if an instantiated backend is actually supported.
Tensor handle interface object.