Class UserBufferTensor

Inheritance Relationships

Derived Types

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!