23.11
|
Interface for CPU tensor.
Store the sub tensor's metadata.
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
ITensor * parent()
Return the parent tensor of the subtensor.
uint8_t * buffer() const override
Interface to be implemented by the child class to return a pointer to CPU memory.
Copyright (c) 2017-2023 Arm Limited.
ITensorInfo * info() const override
Interface to be implemented by the child class to return the tensor's metadata.
SubTensor()
Default Constructor.
Store the tensor's metadata.
virtual uint8_t * buffer() const =0
Interface to be implemented by the child class to return a pointer to CPU memory.