Package | Description |
---|---|
org.bytedeco.tensorflowlite | |
org.bytedeco.tensorflowlite.global |
Modifier and Type | Class and Description |
---|---|
class |
StderrReporter |
Modifier and Type | Method and Description |
---|---|
ErrorReporter |
Interpreter.error_reporter()
\warning Experimental interface, subject to change.
|
ErrorReporter |
FlatBufferModelBase.error_reporter() |
static ErrorReporter |
FlatBufferModel.GetDefaultErrorReporter() |
Modifier and Type | Method and Description |
---|---|
static FlatBufferModel |
FlatBufferModelBase.BuildFromAllocation(Allocation allocation,
ErrorReporter error_reporter)
Builds a model directly from an allocation.
|
static FlatBufferModel |
FlatBufferModelBase.BuildFromBuffer(BytePointer caller_owned_buffer,
long buffer_size,
ErrorReporter error_reporter)
Builds a model based on a pre-loaded flatbuffer.
|
static FlatBufferModel |
FlatBufferModelBase.BuildFromBuffer(String caller_owned_buffer,
long buffer_size,
ErrorReporter error_reporter) |
static FlatBufferModel |
FlatBufferModelBase.BuildFromFile(BytePointer filename,
ErrorReporter error_reporter)
Builds a model based on a file.
|
static FlatBufferModel |
FlatBufferModelBase.BuildFromFile(String filename,
ErrorReporter error_reporter) |
static FlatBufferModel |
FlatBufferModelBase.BuildFromFileDescriptor(int fd,
ErrorReporter error_reporter)
Builds a model based on a file descriptor.
|
static FlatBufferModel |
FlatBufferModelBase.BuildFromModel(Pointer caller_owned_model_spec,
ErrorReporter error_reporter)
Builds a model directly from a flatbuffer pointer
Caller retains ownership of the buffer and should keep it alive until the
returned object is destroyed.
|
void |
FlatBufferModelBase.ValidateModelBuffers(ErrorReporter error_reporter) |
boolean |
TfLiteVerifier.Verify(BytePointer data,
int length,
ErrorReporter reporter)
Returns true if the model is legit.
|
boolean |
TfLiteVerifier.Verify(String data,
int length,
ErrorReporter reporter) |
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.
|
static FlatBufferModel |
FlatBufferModelBase.VerifyAndBuildFromBuffer(BytePointer caller_owned_buffer,
long buffer_size,
TfLiteVerifier extra_verifier,
ErrorReporter error_reporter)
Verifies whether the content of the buffer is legit, then builds a model
based on the pre-loaded flatbuffer.
|
static FlatBufferModel |
FlatBufferModelBase.VerifyAndBuildFromBuffer(String caller_owned_buffer,
long buffer_size,
TfLiteVerifier extra_verifier,
ErrorReporter error_reporter) |
static FlatBufferModel |
FlatBufferModelBase.VerifyAndBuildFromFile(BytePointer filename,
TfLiteVerifier extra_verifier,
ErrorReporter error_reporter)
Verifies whether the content of the file is legit, then builds a model
based on the file.
|
static FlatBufferModel |
FlatBufferModelBase.VerifyAndBuildFromFile(String filename,
TfLiteVerifier extra_verifier,
ErrorReporter error_reporter) |
Constructor and Description |
---|
FileCopyAllocation(BytePointer filename,
ErrorReporter error_reporter)
Loads the provided file into a heap memory region.
|
FileCopyAllocation(String filename,
ErrorReporter error_reporter) |
Interpreter(ErrorReporter error_reporter) |
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).
|
MemoryAllocation(Pointer ptr,
long num_bytes,
ErrorReporter error_reporter)
Provides a (read-only) view of the provided buffer region as an
allocation.
|
Subgraph(ErrorReporter error_reporter,
PointerPointer external_contexts,
SubgraphVector subgraphs,
IntResourceBaseMap resources,
StringIntMap resource_ids,
SizeTSizeTMap initialization_status_map,
int subgraph_index) |
Subgraph(ErrorReporter error_reporter,
TfLiteExternalContext external_contexts,
SubgraphVector subgraphs,
IntResourceBaseMap resources,
StringIntMap resource_ids,
SizeTSizeTMap initialization_status_map) |
Subgraph(ErrorReporter error_reporter,
TfLiteExternalContext external_contexts,
SubgraphVector subgraphs,
IntResourceBaseMap resources,
StringIntMap resource_ids,
SizeTSizeTMap initialization_status_map,
int subgraph_index) |
Modifier and Type | Method and Description |
---|---|
static ErrorReporter |
tensorflowlite.DefaultErrorReporter()
\file
/**
/** Memory management for TF Lite.
|
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) |
static int |
tensorflowlite.GetRegistrationFromOpCode(Pointer opcode,
OpResolver op_resolver,
ErrorReporter error_reporter,
PointerPointer registration) |
static int |
tensorflowlite.GetRegistrationFromOpCode(Pointer opcode,
OpResolver op_resolver,
ErrorReporter error_reporter,
TfLiteRegistration registration) |
Copyright © 2025. All rights reserved.