Class TensorAttributesImpl

Inheritance Relationships

Base Type

  • public com.qualcomm.qti.snpe.TensorAttributes (exhale_interface_interfacecom_1_1qualcomm_1_1qti_1_1snpe_1_1TensorAttributes)

Class Documentation

com::qualcomm::qti::snpe::internal::TensorAttributesImpl : public com.qualcomm.qti.snpe.TensorAttributes

Public Functions

inline int[] getDims ()

Returns the dimensions attribute

Returns

the dimensions attribute

inline int[] getAlignments ()

Returns the alignment requirements of the tensor

Alignment per each dimension is expressed as an multiple, for example, if one particular dimension can accept multiples of 8, the alignment will be 8.

Returns

alignment in each dimension, in terms of multiple of number of elements

inline int getElementSize()

Returns the tensor’s element size, in bytes

Returns

element size, in bytes

inline Encoding getEncoding()

Returns the tensor’s encoding type

Returns

the encoding type