Class UserBufferTensor¶
Defined in File UserBufferTensor.java
Inheritance Relationships¶
Derived Types¶
public com.qualcomm.qti.snpe.TF16UserBufferTensor(Class TF16UserBufferTensor)public com.qualcomm.qti.snpe.TF8UserBufferTensor(Class TF8UserBufferTensor)
Class Documentation¶
-
class UserBufferTensor¶
UserBufferTensor class representing user buffer tensors.
Subclassed by com.qualcomm.qti.snpe.TF16UserBufferTensor, com.qualcomm.qti.snpe.TF8UserBufferTensor
Public Functions
- inline int[] getStrides ()
Returns the strides of the tensor.
- Returns
shape array.
-
inline int getSize()¶
Returns the total size of the tensor.
- Returns
the size of the tensor, in bytes.
- abstract Encoding getEncoding ()
Returns the encoding type of the tensor.
- Returns
the encoding type of the tensor
- abstract void release ()
Releases the resources used by this tensor. After this call no other methods can be called on this instance!