File TensorAttributes.java¶
Definition (TensorAttributes.java)¶
Namespaces¶
Full File Listing¶
-
namespace snpe
-
interface TensorAttributes¶
class representing attributes of a tensor
Subclassed by com.qualcomm.qti.snpe.internal.TensorAttributesImpl
Public Functions
- int[] getDims ()
Returns the dimensions attribute
- Returns
the dimensions attribute
- 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
-
int getElementSize()¶
Returns the tensor’s element size, in bytes
- Returns
element size, in bytes
-
Encoding getEncoding()¶
Returns the tensor’s encoding type
- Returns
the encoding type
-
interface TensorAttributes¶