File TF16UserBufferTensor.java

Definition (TF16UserBufferTensor.java)

Full File Listing

namespace snpe
TF16UserBufferTensor : public com.qualcomm.qti.snpe.UserBufferTensor

UserBufferTensor class representing TF16 user buffer elements.

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

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 TF16_MAX_VAL   = 65535
static final int TF16_MIN_VAL   = 0

Protected Functions

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