@Properties(inherit=tensorflowlite.class) public class TfLiteNode extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TfLiteNode()
Default native constructor.
|
TfLiteNode(long size)
Native array allocator.
|
TfLiteNode(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Pointer |
builtin_data()
Opaque data provided to the node if the node is a builtin.
|
TfLiteNode |
builtin_data(Pointer setter) |
int |
custom_initial_data_size() |
TfLiteNode |
custom_initial_data_size(int setter) |
Pointer |
custom_initial_data()
Custom initial data.
|
TfLiteNode |
custom_initial_data(Pointer setter) |
TfLiteDelegate |
delegate()
The pointer to the delegate.
|
TfLiteNode |
delegate(TfLiteDelegate setter) |
TfLiteNode |
getPointer(long i) |
TfLiteIntArray |
inputs()
Inputs to this node expressed as indices into the simulator's tensors.
|
TfLiteNode |
inputs(TfLiteIntArray setter) |
TfLiteIntArray |
intermediates()
intermediate tensors to this node expressed as indices into the
simulator's tensors.
|
TfLiteNode |
intermediates(TfLiteIntArray setter) |
boolean |
might_have_side_effect()
Whether this op might have side effect (e.g.
|
TfLiteNode |
might_have_side_effect(boolean setter) |
TfLiteIntArray |
outputs()
Outputs to this node expressed as indices into the simulator's tensors.
|
TfLiteNode |
outputs(TfLiteIntArray setter) |
TfLiteNode |
position(long position) |
TfLiteIntArray |
temporaries()
Temporary tensors uses during the computations.
|
TfLiteNode |
temporaries(TfLiteIntArray setter) |
Pointer |
user_data()
Opaque data provided by the node implementer through
Registration.init . |
TfLiteNode |
user_data(Pointer setter) |
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, withDeallocator, zero
public TfLiteNode()
public TfLiteNode(long size)
Pointer.position(long)
.public TfLiteNode(Pointer p)
Pointer(Pointer)
.public TfLiteNode position(long position)
public TfLiteNode getPointer(long i)
getPointer
in class Pointer
public TfLiteIntArray inputs()
public TfLiteNode inputs(TfLiteIntArray setter)
public TfLiteIntArray outputs()
public TfLiteNode outputs(TfLiteIntArray setter)
public TfLiteIntArray intermediates()
public TfLiteNode intermediates(TfLiteIntArray setter)
public TfLiteIntArray temporaries()
public TfLiteNode temporaries(TfLiteIntArray setter)
public Pointer user_data()
Registration.init
.public TfLiteNode user_data(Pointer setter)
public Pointer builtin_data()
public TfLiteNode builtin_data(Pointer setter)
@Const public Pointer custom_initial_data()
public TfLiteNode custom_initial_data(Pointer setter)
public int custom_initial_data_size()
public TfLiteNode custom_initial_data_size(int setter)
public TfLiteDelegate delegate()
interpreter.ModifyGraphWithDelegate
.
WARNING: This is an experimental interface that is subject to change.public TfLiteNode delegate(TfLiteDelegate setter)
@Cast(value="bool") public boolean might_have_side_effect()
public TfLiteNode might_have_side_effect(boolean setter)
Copyright © 2025. All rights reserved.