@Properties(inherit=tensorflowlite.class) public class TfLitePtrUnion extends Pointer
GetTensorData<TYPE>(tensor)
instead, otherwise only access .data
, as
other members are deprecated.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TfLitePtrUnion()
Default native constructor.
|
TfLitePtrUnion(long size)
Native array allocator.
|
TfLitePtrUnion(Pointer p)
Pointer cast constructor.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public TfLitePtrUnion()
public TfLitePtrUnion(long size)
Pointer.position(long)
.public TfLitePtrUnion(Pointer p)
Pointer(Pointer)
.public TfLitePtrUnion position(long position)
public TfLitePtrUnion getPointer(long i)
getPointer
in class Pointer
public IntPointer i32()
public TfLitePtrUnion i32(IntPointer setter)
@Cast(value="uint32_t*") public IntPointer u32()
public TfLitePtrUnion u32(IntPointer setter)
@Cast(value="int64_t*") public LongPointer i64()
public TfLitePtrUnion i64(LongPointer setter)
@Cast(value="uint64_t*") public LongPointer u64()
public TfLitePtrUnion u64(LongPointer setter)
public FloatPointer f()
public TfLitePtrUnion f(FloatPointer setter)
public TfLiteFloat16 f16()
public TfLitePtrUnion f16(TfLiteFloat16 setter)
public TfLiteBFloat16 bf16()
public TfLitePtrUnion bf16(TfLiteBFloat16 setter)
public DoublePointer f64()
public TfLitePtrUnion f64(DoublePointer setter)
@Cast(value="char*") public BytePointer raw()
public TfLitePtrUnion raw(BytePointer setter)
@Cast(value="const char*") public BytePointer raw_const()
public TfLitePtrUnion raw_const(BytePointer setter)
@Cast(value="uint8_t*") public BytePointer uint8()
public TfLitePtrUnion uint8(BytePointer setter)
@Cast(value="bool*") public BoolPointer b()
public TfLitePtrUnion b(BoolPointer setter)
public ShortPointer i16()
public TfLitePtrUnion i16(ShortPointer setter)
@Cast(value="uint16_t*") public ShortPointer ui16()
public TfLitePtrUnion ui16(ShortPointer setter)
public TfLiteComplex64 c64()
public TfLitePtrUnion c64(TfLiteComplex64 setter)
public TfLiteComplex128 c128()
public TfLitePtrUnion c128(TfLiteComplex128 setter)
public BytePointer int8()
public TfLitePtrUnion int8(BytePointer setter)
public Pointer data()
public TfLitePtrUnion data(Pointer setter)
Copyright © 2025. All rights reserved.