Class Tensor

Inheritance Relationships

Derived Type

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)