@Namespace(value="tflite") @Properties(inherit=tensorflowlite.class) public class MemoryPlanner extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MemoryPlanner(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
AcquireNonPersistentMemory() |
void |
DumpDebugInfo(int[] execution_plan) |
void |
DumpDebugInfo(IntBuffer execution_plan) |
void |
DumpDebugInfo(IntPointer execution_plan) |
int |
ExecuteAllocations(int first_node,
int last_node) |
void |
GetAllocInfo(SizeTPointer arena_size,
SizeTPointer arena_persist_size) |
boolean |
HasNonPersistentMemory() |
int |
PlanAllocations() |
int |
ReleaseNonPersistentMemory() |
int |
ResetAllocations() |
int |
ResetAllocationsAfter(int node) |
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 MemoryPlanner(Pointer p)
Pointer(Pointer)
.@Cast(value="TfLiteStatus") public int ExecuteAllocations(int first_node, int last_node)
public void DumpDebugInfo(@StdVector IntPointer execution_plan)
public void DumpDebugInfo(@StdVector IntBuffer execution_plan)
public void DumpDebugInfo(@StdVector int[] execution_plan)
public void GetAllocInfo(@Cast(value="size_t*") SizeTPointer arena_size, @Cast(value="size_t*") SizeTPointer arena_persist_size)
Copyright © 2025. All rights reserved.