24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_GRAPH_TENSOR_H
25 #define ARM_COMPUTE_GRAPH_TENSOR_H
68 void set_handle(std::unique_ptr<ITensorHandle> backend_tensor);
115 std::unique_ptr<ITensorHandle> _handle;
116 std::unique_ptr<ITensorAccessor> _accessor;
117 std::set<EdgeID> _bound_edges;
std::set< EdgeID > bound_edges() const
Accessor the edges that are bound with the tensor.
ITensorAccessor * accessor()
Backend tensor accessor.
void set_handle(std::unique_ptr< ITensorHandle > backend_tensor)
Sets the backend tensor.
void set_accessor(std::unique_ptr< ITensorAccessor > accessor)
Sets the backend tensor accessor.
TensorDescriptor & desc()
TensorInfo metadata accessor.
ITensorHandle * handle()
Backend tensor handle accessor.
void bind_edge(EdgeID eid)
Binds the tensor with an edge.
void unbind_edge(EdgeID eid)
Unbinds an edge from a tensor.
Tensor accessor interface.
TensorID id() const
Tensor ID accessor.
Copyright (c) 2017-2024 Arm Limited.
std::unique_ptr< ITensorAccessor > extract_accessor()
Extracts accessor from the tensor.
Tensor(TensorID id, TensorDescriptor desc)
Default constructor.
bool call_accessor()
Calls accessor on tensor.
Tensor handle interface object.