24 #ifndef ARM_COMPUTE_TEST_IACCESSOR_H 25 #define ARM_COMPUTE_TEST_IACCESSOR_H 59 virtual size_t size()
const = 0;
virtual Format format() const =0
Image format of the tensor.
Container for 2D border size.
virtual size_t size() const =0
Total size of the tensor in bytes.
virtual TensorShape shape() const =0
Shape of the tensor.
Copyright (c) 2017-2021 Arm Limited.
virtual PaddingSize padding() const =0
Available padding around the tensor.
Quantization information.
virtual QuantizationInfo quantization_info() const =0
Quantization info in case of asymmetric quantized type.
Format
Image colour formats.
virtual int num_elements() const =0
Number of elements of the tensor.
virtual DataLayout data_layout() const =0
Data layout of the tensor.
virtual const void * operator()(const Coordinates &coord) const =0
Read only access to the specified element.
virtual DataType data_type() const =0
Data type of the tensor.
Common interface to provide information and access to tensor like structures.
virtual size_t element_size() const =0
Size of each element in the tensor in bytes.
virtual ~IAccessor()=default
Virtual destructor.
virtual int num_channels() const =0
Number of channels of the tensor.
DataType
Available data types.
DataLayout
[DataLayout enum definition]