24 #ifndef __ARM_COMPUTE_ITENSORALLOCATOR_H__ 25 #define __ARM_COMPUTE_ITENSORALLOCATOR_H__ 78 virtual uint8_t *lock() = 0;
80 virtual void unlock() = 0;
ITensorAllocator()
Default constructor.
TensorInfo & info()
Return a reference to the tensor's metadata.
ITensorAllocator & operator=(const ITensorAllocator &)=default
Allow instances of this class to be copied.
virtual ~ITensorAllocator()=default
Default virtual destructor.
virtual void allocate()=0
Interface to be implemented by the child class to allocate the tensor.
void init(const TensorInfo &input)
Initialize a tensor based on the passed TensorInfo.
Store the tensor's metadata.
Interface to allocate tensors.