24 #ifndef ARM_COMPUTE_GRAPH_IDEVICEBACKEND_H 25 #define ARM_COMPUTE_GRAPH_IDEVICEBACKEND_H 125 #endif //ARM_COMPUTE_GRAPH_IDEVICEBACKEND_H
virtual std::unique_ptr< arm_compute::IFunction > configure_node(INode &node, GraphContext &ctx)=0
Configure a backend Node.
virtual std::shared_ptr< arm_compute::IMemoryManager > create_memory_manager(MemoryManagerAffinity affinity)=0
Create a backend memory manager given its affinity.
virtual bool is_backend_supported()=0
Checks if an instantiated backend is actually supported.
virtual void setup_backend_context(GraphContext &ctx)=0
Setups the given graph context.
virtual IAllocator * backend_allocator()=0
Gets a backend memory allocator.
Copyright (c) 2017-2021 Arm Limited.
virtual std::unique_ptr< ITensorHandle > create_tensor(const Tensor &tensor)=0
Create a backend Tensor.
Tensor handle interface object.
virtual Status validate_node(INode &node)=0
Validate a node.
virtual std::unique_ptr< ITensorHandle > create_subtensor(ITensorHandle *parent, TensorShape shape, Coordinates coords, bool extend_parent)=0
Create a backend Sub-Tensor.
virtual void release_backend_context(GraphContext &ctx)=0
Release the backend specific resources associated to a given graph context.
virtual void initialize_backend()=0
Initializes the backend.
Device backend interface.
virtual std::shared_ptr< arm_compute::IWeightsManager > create_weights_manager()=0
Create a backend weights manager.
virtual ~IDeviceBackend()=default
Virtual Destructor.
MemoryManagerAffinity
Backend Memory Manager affinity.