24 #ifndef ARM_COMPUTE_TENSOR_H 25 #define ARM_COMPUTE_TENSOR_H 35 class IRuntimeContext;
61 uint8_t *
buffer()
const override;
Tensor(IRuntimeContext *ctx=nullptr)
Constructor.
Basic implementation of a CPU memory tensor allocator.
Store the tensor's metadata.
Tensor & operator=(Tensor &&)=default
Allow instances of this class to be moved.
Interface for CPU tensor.
Copyright (c) 2017-2021 Arm Limited.
TensorAllocator * allocator()
Return a pointer to the tensor's allocator.
ITensorInfo * info() const override
Interface to be implemented by the child class to return the tensor's metadata.
~Tensor()=default
Destructor: free the tensor's memory.
void associate_memory_group(IMemoryGroup *memory_group) override
Associates a memory managable object with the memory group that manages it.
Basic implementation of the tensor interface.
Interface of an object than can be memory managed.
uint8_t * buffer() const override
Interface to be implemented by the child class to return a pointer to CPU memory. ...