Package | Description |
---|---|
org.bytedeco.tensorflowlite.global |
Modifier and Type | Method and Description |
---|---|
static TfLiteSignatureRunner |
tensorflowlite.TfLiteInterpreterGetSignatureRunner(TfLiteInterpreter interpreter,
BytePointer signature_key)
Returns a new signature runner using the provided interpreter and signature
key, or nullptr on failure.
|
static TfLiteSignatureRunner |
tensorflowlite.TfLiteInterpreterGetSignatureRunner(TfLiteInterpreter interpreter,
String signature_key) |
Modifier and Type | Method and Description |
---|---|
static int |
tensorflowlite.TfLiteSignatureRunnerAllocateTensors(TfLiteSignatureRunner signature_runner)
Updates allocations for tensors associated with a signature and resizes
dependent tensors using the specified input tensor dimensionality.
|
static int |
tensorflowlite.TfLiteSignatureRunnerCancel(TfLiteSignatureRunner signature_runner)
--------------------------------------------------------------------------
SignatureRunner APIs
|
static void |
tensorflowlite.TfLiteSignatureRunnerDelete(TfLiteSignatureRunner signature_runner)
Destroys the signature runner.
|
static long |
tensorflowlite.TfLiteSignatureRunnerGetInputCount(TfLiteSignatureRunner signature_runner)
Returns the number of inputs associated with a signature.
|
static BytePointer |
tensorflowlite.TfLiteSignatureRunnerGetInputName(TfLiteSignatureRunner signature_runner,
int input_index)
Returns the (null-terminated) name of the Nth input in a signature, where N
is specified as
input_index . |
static TfLiteTensor |
tensorflowlite.TfLiteSignatureRunnerGetInputTensor(TfLiteSignatureRunner signature_runner,
BytePointer input_name)
Returns the input tensor identified by
input_name in the given signature. |
static TfLiteTensor |
tensorflowlite.TfLiteSignatureRunnerGetInputTensor(TfLiteSignatureRunner signature_runner,
String input_name) |
static long |
tensorflowlite.TfLiteSignatureRunnerGetOutputCount(TfLiteSignatureRunner signature_runner)
Returns the number of output tensors associated with the signature.
|
static BytePointer |
tensorflowlite.TfLiteSignatureRunnerGetOutputName(TfLiteSignatureRunner signature_runner,
int output_index)
Returns the (null-terminated) name of the Nth output in a signature, where
N is specified as
output_index . |
static TfLiteTensor |
tensorflowlite.TfLiteSignatureRunnerGetOutputTensor(TfLiteSignatureRunner signature_runner,
BytePointer output_name)
Returns the output tensor identified by
output_name in the given
signature. |
static TfLiteTensor |
tensorflowlite.TfLiteSignatureRunnerGetOutputTensor(TfLiteSignatureRunner signature_runner,
String output_name) |
static int |
tensorflowlite.TfLiteSignatureRunnerInvoke(TfLiteSignatureRunner signature_runner)
Runs inference on a given signature.
|
static int |
tensorflowlite.TfLiteSignatureRunnerResizeInputTensor(TfLiteSignatureRunner signature_runner,
BytePointer input_name,
int[] input_dims,
int input_dims_size) |
static int |
tensorflowlite.TfLiteSignatureRunnerResizeInputTensor(TfLiteSignatureRunner signature_runner,
BytePointer input_name,
IntBuffer input_dims,
int input_dims_size) |
static int |
tensorflowlite.TfLiteSignatureRunnerResizeInputTensor(TfLiteSignatureRunner signature_runner,
BytePointer input_name,
IntPointer input_dims,
int input_dims_size)
Resizes the input tensor identified as
input_name to be the dimensions
specified by input_dims and input_dims_size . |
static int |
tensorflowlite.TfLiteSignatureRunnerResizeInputTensor(TfLiteSignatureRunner signature_runner,
String input_name,
int[] input_dims,
int input_dims_size) |
static int |
tensorflowlite.TfLiteSignatureRunnerResizeInputTensor(TfLiteSignatureRunner signature_runner,
String input_name,
IntBuffer input_dims,
int input_dims_size) |
static int |
tensorflowlite.TfLiteSignatureRunnerResizeInputTensor(TfLiteSignatureRunner signature_runner,
String input_name,
IntPointer input_dims,
int input_dims_size) |
Copyright © 2025. All rights reserved.