Class Tensor¶
Defined in File Tensor.java
Inheritance Relationships¶
Derived Type¶
public com.qualcomm.qti.snpe.FloatTensor(Class FloatTensor)
Class Documentation¶
-
class Tensor¶
Tensor class.
Subclassed by com.qualcomm.qti.snpe.FloatTensor
Public Functions
- inline int[] getShape ()
Returns the shape of the tensor.
- Returns
shape array.
-
inline int getSize()¶
Returns the number of elements in the tensor.
- Returns
the size 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!
Protected Functions
- inline Tensor (final int ...shape)