Class TF8UserBufferTensor

Inheritance Relationships

Base Type

Derived Type

Class Documentation

com::qualcomm::qti::snpe::TF8UserBufferTensor : public com.qualcomm.qti.snpe.UserBufferTensor

UserBufferTensor class representing TF8 user buffer elements.

Subclassed by com.qualcomm.qti.snpe.internal.NativeTF8UserBufferTensor

Public Functions

inline Encoding getEncoding()

Returns the encoding type of the tensor.

Returns

the encoding type of the tensor

abstract int getStepExactly0 ()

Returns the step that represents exactly 0.0.

Returns

the step value

abstract float getQuantizedStepSize ()

Returns the step size.

Returns

the step size

inline float getMin()
inline float getMax()

Public Static Attributes

static final int TF8_MAX_VAL   = 255
static final int TF8_MIN_VAL   = 0

Protected Functions

inline  TF8UserBufferTensor (final int size, final int[] strides)