@Namespace(value="tflite") @NoOffset @Properties(inherit=tensorflowlite.class) public class OpResolver extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
OpResolver(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
TfLiteRegistration |
FindOp(BytePointer op,
int version)
Finds the op registration of a custom operator by op name.
|
TfLiteRegistration |
FindOp(int op,
int version)
Finds the op registration for a builtin operator by enum code.
|
TfLiteRegistration |
FindOp(String op,
int version) |
Pointer |
GetDelegateCreators() |
TfLiteDelegatePtrVector |
GetDelegates(int num_threads) |
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 OpResolver(Pointer p)
Pointer(Pointer)
.@Const public TfLiteRegistration FindOp(@Cast(value="tflite::BuiltinOperator") int op, int version)
@Const public TfLiteRegistration FindOp(@Cast(value="const char*") BytePointer op, int version)
@Const public TfLiteRegistration FindOp(String op, int version)
@ByVal public TfLiteDelegatePtrVector GetDelegates(int num_threads)
Copyright © 2025. All rights reserved.