public static class TfLiteContext.AllocatePersistentBuffer_TfLiteContext_long extends FunctionPointer
nullptr
on failure. The memory is allocated from
heap for TFL, and from tail in TFLM. This method is only available in
Init
or Prepare
stage.
WARNING: This is an experimental interface that is subject
to change.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier | Constructor and Description |
---|---|
protected |
AllocatePersistentBuffer_TfLiteContext_long() |
|
AllocatePersistentBuffer_TfLiteContext_long(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Pointer |
call(TfLiteContext ctx,
long bytes) |
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 AllocatePersistentBuffer_TfLiteContext_long(Pointer p)
Pointer(Pointer)
.protected AllocatePersistentBuffer_TfLiteContext_long()
public Pointer call(TfLiteContext ctx, @Cast(value="size_t") long bytes)
Copyright © 2025. All rights reserved.