| Package | Description |
|---|---|
| org.bytedeco.tensorflowlite | |
| org.bytedeco.tensorflowlite.global |
| Modifier and Type | Class and Description |
|---|---|
class |
FileCopyAllocation |
class |
MemoryAllocation |
| Modifier and Type | Method and Description |
|---|---|
Allocation |
FlatBufferModelBase.allocation() |
| Modifier and Type | Method and Description |
|---|---|
static FlatBufferModel |
FlatBufferModelBase.BuildFromAllocation(Allocation allocation) |
static FlatBufferModel |
FlatBufferModelBase.BuildFromAllocation(Allocation allocation,
ErrorReporter error_reporter)
Builds a model directly from an allocation.
|
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
int[] dims,
TfLiteQuantization quantization,
BytePointer buffer,
long bytes,
Allocation allocation) |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
int[] dims,
TfLiteQuantization quantization,
BytePointer buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
int[] dims,
TfLiteQuantizationParams quantization,
BytePointer buffer,
long bytes,
Allocation allocation) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
IntBuffer dims,
TfLiteQuantization quantization,
BytePointer buffer,
long bytes,
Allocation allocation) |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
IntBuffer dims,
TfLiteQuantization quantization,
BytePointer buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
IntBuffer dims,
TfLiteQuantizationParams quantization,
BytePointer buffer,
long bytes,
Allocation allocation) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
IntPointer dims,
TfLiteQuantization quantization,
BytePointer buffer,
long bytes,
Allocation allocation)
Set description of inputs/outputs/data/fptrs for node
node_index. |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
IntPointer dims,
TfLiteQuantization quantization,
BytePointer buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
IntPointer dims,
TfLiteQuantizationParams quantization,
BytePointer buffer,
long bytes,
Allocation allocation)
Legacy.
|
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
long ndims,
int[] dims,
TfLiteQuantization quantization,
BytePointer buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
long rank,
int[] dims,
TfLiteQuantizationParams quantization,
BytePointer buffer,
long bytes,
Allocation allocation) |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
long ndims,
IntBuffer dims,
TfLiteQuantization quantization,
BytePointer buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
long rank,
IntBuffer dims,
TfLiteQuantizationParams quantization,
BytePointer buffer,
long bytes,
Allocation allocation) |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
long ndims,
IntPointer dims,
TfLiteQuantization quantization,
BytePointer buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
BytePointer name,
long rank,
IntPointer dims,
TfLiteQuantizationParams quantization,
BytePointer buffer,
long bytes,
Allocation allocation) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
int[] dims,
TfLiteQuantizationParams quantization,
String buffer,
long bytes,
Allocation allocation) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
int[] dims,
TfLiteQuantization quantization,
String buffer,
long bytes,
Allocation allocation) |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
int[] dims,
TfLiteQuantization quantization,
String buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
IntBuffer dims,
TfLiteQuantizationParams quantization,
String buffer,
long bytes,
Allocation allocation) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
IntBuffer dims,
TfLiteQuantization quantization,
String buffer,
long bytes,
Allocation allocation) |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
IntBuffer dims,
TfLiteQuantization quantization,
String buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
IntPointer dims,
TfLiteQuantizationParams quantization,
String buffer,
long bytes,
Allocation allocation) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
IntPointer dims,
TfLiteQuantization quantization,
String buffer,
long bytes,
Allocation allocation) |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
IntPointer dims,
TfLiteQuantization quantization,
String buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
long rank,
int[] dims,
TfLiteQuantizationParams quantization,
String buffer,
long bytes,
Allocation allocation) |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
long ndims,
int[] dims,
TfLiteQuantization quantization,
String buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
long rank,
IntBuffer dims,
TfLiteQuantizationParams quantization,
String buffer,
long bytes,
Allocation allocation) |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
long ndims,
IntBuffer dims,
TfLiteQuantization quantization,
String buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
int |
Interpreter.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
long rank,
IntPointer dims,
TfLiteQuantizationParams quantization,
String buffer,
long bytes,
Allocation allocation) |
int |
Subgraph.SetTensorParametersReadOnly(int tensor_index,
int type,
String name,
long ndims,
IntPointer dims,
TfLiteQuantization quantization,
String buffer,
long bytes,
Allocation allocation,
TfLiteSparsity sparsity,
long buffer_identifier) |
static FlatBufferModel |
FlatBufferModelBase.VerifyAndBuildFromAllocation(Allocation allocation) |
static FlatBufferModel |
FlatBufferModelBase.VerifyAndBuildFromAllocation(Allocation allocation,
TfLiteVerifier extra_verifier,
ErrorReporter error_reporter)
Verifies whether the content of the allocation is legit, then builds a
model based on the provided allocation.
|
| Constructor and Description |
|---|
InterpreterBuilder(Pointer model,
OpResolver op_resolver,
ErrorReporter error_reporter,
InterpreterOptions options_experimental,
Allocation allocation)
Builds an interpreter given only the raw flatbuffer Model object (instead
of a FlatBufferModel).
|
| Modifier and Type | Method and Description |
|---|---|
static Allocation |
tensorflowlite.GetAllocationFromFile(BytePointer filename,
ErrorReporter error_reporter)
\file
/**
/** Deserialization infrastructure for tflite.
|
static Allocation |
tensorflowlite.GetAllocationFromFile(int fd,
ErrorReporter error_reporter) |
static Allocation |
tensorflowlite.GetAllocationFromFile(String filename,
ErrorReporter error_reporter) |
Copyright © 2026. All rights reserved.