public static class TfLiteRegistration.Init_TfLiteContext_BytePointer_long extends FunctionPointer
buffer
is the op's params data (TfLiteLSTMParams*).
* length
is zero.
* If custom op:
* buffer
is the op's custom_options
.
* length
is the size of the buffer.
Returns a type-punned (i.e. void*) opaque data (e.g. a primitive pointer
or an instance of a struct).
The returned pointer will be stored with the node in the user_data
field, accessible within prepare and invoke functions below.
NOTE: if the data is already in the desired format, simply implement this
function to return nullptr
and implement the free function to be a
no-op.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier | Constructor and Description |
---|---|
protected |
Init_TfLiteContext_BytePointer_long() |
|
Init_TfLiteContext_BytePointer_long(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Pointer |
call(TfLiteContext context,
BytePointer buffer,
long length) |
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 Init_TfLiteContext_BytePointer_long(Pointer p)
Pointer(Pointer)
.protected Init_TfLiteContext_BytePointer_long()
public Pointer call(TfLiteContext context, @Cast(value="const char*") BytePointer buffer, @Cast(value="size_t") long length)
Copyright © 2025. All rights reserved.