@Namespace(value="tflite") @NoOffset @Properties(inherit=tensorflowlite.class) public class Allocation extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
kFileCopy
enum class tflite::Allocation::Type
|
static int |
kMemory
enum class tflite::Allocation::Type
|
static int |
kMMap
enum class tflite::Allocation::Type
|
Constructor and Description |
---|
Allocation(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Pointer |
base()
Base pointer of this allocation
|
long |
bytes()
Size in bytes of the allocation
|
int |
type()
Return the type of the Allocation.
|
boolean |
valid()
Whether the allocation is valid
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static final int kMMap
public static final int kFileCopy
public static final int kMemory
public Allocation(Pointer p)
Pointer(Pointer)
.Copyright © 2025. All rights reserved.