Compute Library
 22.05
AclTensorDescriptor Struct Reference

#include <AclTypes.h>

Data Fields

int32_t ndims
 Number or dimensions. More...
 
int32_t * shape
 Tensor Shape. More...
 
AclDataType data_type
 Tensor Data type. More...
 
int64_t * strides
 Strides on each dimension. More...
 
int64_t boffset
 Offset in terms of bytes for the first element. More...
 

Detailed Description

Definition at line 191 of file AclTypes.h.

Field Documentation

◆ boffset

int64_t boffset

Offset in terms of bytes for the first element.

Definition at line 197 of file AclTypes.h.

◆ data_type

AclDataType data_type

Tensor Data type.

Definition at line 195 of file AclTypes.h.

Referenced by arm_compute::detail::convert_to_legacy_tensor_info(), and TensorDescriptor::TensorDescriptor().

◆ ndims

int32_t ndims

Number or dimensions.

Definition at line 193 of file AclTypes.h.

Referenced by arm_compute::detail::convert_to_legacy_tensor_info(), and TensorDescriptor::TensorDescriptor().

◆ shape

int32_t* shape

◆ strides

int64_t* strides

Strides on each dimension.

Linear memory is assumed if nullptr

Definition at line 196 of file AclTypes.h.


The documentation for this struct was generated from the following file: