@Properties(inherit=tensorflowlite.class) public class TfLiteEvalTensor extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TfLiteEvalTensor()
Default native constructor.
|
TfLiteEvalTensor(long size)
Native array allocator.
|
TfLiteEvalTensor(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
TfLitePtrUnion |
data()
A union of data pointers.
|
TfLiteEvalTensor |
data(TfLitePtrUnion setter) |
TfLiteIntArray |
dims()
A pointer to a structure representing the dimensionality interpretation
that the buffer should have.
|
TfLiteEvalTensor |
dims(TfLiteIntArray setter) |
TfLiteEvalTensor |
getPointer(long i) |
TfLiteEvalTensor |
position(long position) |
int |
type()
The data type specification for data stored in
data . |
TfLiteEvalTensor |
type(int setter) |
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 TfLiteEvalTensor()
public TfLiteEvalTensor(long size)
Pointer.position(long)
.public TfLiteEvalTensor(Pointer p)
Pointer(Pointer)
.public TfLiteEvalTensor position(long position)
public TfLiteEvalTensor getPointer(long i)
getPointer
in class Pointer
@ByRef public TfLitePtrUnion data()
type
.public TfLiteEvalTensor data(TfLitePtrUnion setter)
public TfLiteIntArray dims()
public TfLiteEvalTensor dims(TfLiteIntArray setter)
@Cast(value="TfLiteType") public int type()
data
. This affects
what member of data
union should be used.public TfLiteEvalTensor type(int setter)
Copyright © 2025. All rights reserved.