@Properties(inherit=tensorflowlite.class) public class TfLiteOpaqueDelegateBuilder extends Pointer
TfLiteOpaqueDelegateBuilder is used for constructing
TfLiteOpaqueDelegate, see TfLiteOpaqueDelegateCreate in c_api_opaque.h.
NOTE: This struct is not ABI stable.
For forward source compatibility TfLiteOpaqueDelegateBuilder objects
should be brace-initialized, so that all fields (including any that might be
added in the future) get zero-initialized. The purpose of each field is
exactly the same as with TfLiteDelegate.
NOTE: This type is part of the TensorFlow Lite Extension APIs.
We reserve the right to make changes to this API in future releases,
potentially including non-backwards-compatible changes, on a different
schedule than for the other TensorFlow Lite APIs. See
https://www.tensorflow.org/guide/versions#separate_version_number_for_tensorflow_lite_extension_apis.| Modifier and Type | Class and Description |
|---|---|
static class |
TfLiteOpaqueDelegateBuilder.CopyFromBufferHandle_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer_int_TfLiteOpaqueTensor
Copies the data from delegate buffer handle into raw memory of the given
tensor. |
static class |
TfLiteOpaqueDelegateBuilder.CopyToBufferHandle_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer_int_TfLiteOpaqueTensor
Copies the data from raw memory of the given
tensor to delegate buffer
handle. |
static class |
TfLiteOpaqueDelegateBuilder.FreeBufferHandle_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer_IntPointer
Frees the Delegate Buffer Handle.
|
static class |
TfLiteOpaqueDelegateBuilder.Prepare_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer
Invoked by ModifyGraphWithDelegate.
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TfLiteOpaqueDelegateBuilder()
Default native constructor.
|
TfLiteOpaqueDelegateBuilder(long size)
Native array allocator.
|
TfLiteOpaqueDelegateBuilder(Pointer p)
Pointer cast constructor.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, trimMemory, withDeallocator, zeropublic TfLiteOpaqueDelegateBuilder()
public TfLiteOpaqueDelegateBuilder(long size)
Pointer.position(long).public TfLiteOpaqueDelegateBuilder(Pointer p)
Pointer(Pointer).public TfLiteOpaqueDelegateBuilder position(long position)
public TfLiteOpaqueDelegateBuilder getPointer(long i)
getPointer in class Pointerpublic Pointer data()
public TfLiteOpaqueDelegateBuilder data(Pointer setter)
public TfLiteOpaqueDelegateBuilder.Prepare_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer Prepare()
public TfLiteOpaqueDelegateBuilder Prepare(TfLiteOpaqueDelegateBuilder.Prepare_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer setter)
public TfLiteOpaqueDelegateBuilder.CopyFromBufferHandle_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer_int_TfLiteOpaqueTensor CopyFromBufferHandle()
public TfLiteOpaqueDelegateBuilder CopyFromBufferHandle(TfLiteOpaqueDelegateBuilder.CopyFromBufferHandle_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer_int_TfLiteOpaqueTensor setter)
public TfLiteOpaqueDelegateBuilder.CopyToBufferHandle_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer_int_TfLiteOpaqueTensor CopyToBufferHandle()
public TfLiteOpaqueDelegateBuilder CopyToBufferHandle(TfLiteOpaqueDelegateBuilder.CopyToBufferHandle_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer_int_TfLiteOpaqueTensor setter)
public TfLiteOpaqueDelegateBuilder.FreeBufferHandle_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer_IntPointer FreeBufferHandle()
public TfLiteOpaqueDelegateBuilder FreeBufferHandle(TfLiteOpaqueDelegateBuilder.FreeBufferHandle_TfLiteOpaqueContext_TfLiteOpaqueDelegateStruct_Pointer_IntPointer setter)
@Cast(value="int64_t") public long flags()
TfLiteDelegateFlags.public TfLiteOpaqueDelegateBuilder flags(long setter)
Copyright © 2026. All rights reserved.