public static class TfLiteContext.RequestScratchBufferInArena_TfLiteContext_long_IntPointer extends FunctionPointer
Prepare
stage and the buffer is
allocated by the interpreter between Prepare and Eval stage. In Eval
stage, GetScratchBuffer
API can be used to fetch the address.
WARNING: This is an experimental interface that is subject to change.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier | Constructor and Description |
---|---|
protected |
RequestScratchBufferInArena_TfLiteContext_long_IntPointer() |
|
RequestScratchBufferInArena_TfLiteContext_long_IntPointer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
call(TfLiteContext ctx,
long bytes,
IntPointer buffer_idx) |
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 RequestScratchBufferInArena_TfLiteContext_long_IntPointer(Pointer p)
Pointer(Pointer)
.protected RequestScratchBufferInArena_TfLiteContext_long_IntPointer()
@Cast(value="TfLiteStatus") public int call(TfLiteContext ctx, @Cast(value="size_t") long bytes, IntPointer buffer_idx)
Copyright © 2025. All rights reserved.