public static class TfLiteContext.AllocateBufferForEval_TfLiteContext_long_PointerPointer extends FunctionPointer
RequestScratchBufferInArena
method to avoid memory
allocation during inference time.
WARNING: This is an experimental interface that is subject to change.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier | Constructor and Description |
---|---|
protected |
AllocateBufferForEval_TfLiteContext_long_PointerPointer() |
|
AllocateBufferForEval_TfLiteContext_long_PointerPointer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
call(TfLiteContext ctx,
long bytes,
PointerPointer ptr) |
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 AllocateBufferForEval_TfLiteContext_long_PointerPointer(Pointer p)
Pointer(Pointer)
.protected AllocateBufferForEval_TfLiteContext_long_PointerPointer()
@Cast(value="TfLiteStatus") public int call(TfLiteContext ctx, @Cast(value="size_t") long bytes, @Cast(value="void**") PointerPointer ptr)
Copyright © 2025. All rights reserved.