File NativeTF16UserBufferTensor.java¶
↰ Parent directory (internal)
Definition (internal/NativeTF16UserBufferTensor.java)¶
Full File Listing¶
-
namespace internal
- NativeTF16UserBufferTensor : public com.qualcomm.qti.snpe.TF16UserBufferTensor , public com.qualcomm.qti.snpe.internal.NativeUserBufferHandle
Public Functions
-
inline void setStepExactly0(int stepExactly0)¶
-
inline void setQuantizedStepSize(float quantizedStepSize)¶
-
inline int getStepExactly0()¶
-
inline float getQuantizedStepSize()¶
- inline synchronized void release ()
-
inline long getNativeHandle()
Protected Functions
-
inline void finalize()
Package Functions
- inline NativeTF16UserBufferTensor (final int size, final int[] strides, int stepExactly0, float quantizedStepSize, ByteBuffer byteBuffer)
-
inline ByteBuffer asDirectByteBuffer()¶
Private Functions
- native long nativeInit (ByteBuffer buffer, int capacity, ByteBuffer byteBuffer)
-
inline void doRelease()
- native void nativeRelease (long nativeHandle)
Private Members
-
long mNativeHandle
- final ByteBuffer mByteBuffer
-
int mStepExactly0¶
-
float mQuantizedStepSize¶
Private Static Attributes
- static final int JNI_ERROR = -1
-
inline void setStepExactly0(int stepExactly0)¶