File NativeTF8UserBufferTensor.java¶
↰ Parent directory (internal)
Definition (internal/NativeTF8UserBufferTensor.java)¶
Classes¶
Full File Listing¶
-
namespace internal
- NativeTF8UserBufferTensor : public com.qualcomm.qti.snpe.TF8UserBufferTensor , 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 NativeTF8UserBufferTensor (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)