View Source TFLiteElixir (tflite_elixir v0.4.0-rc6)
This module contains some helper functions from the tflite
namespace in TensorFlow Lite's codebase.
Summary
Functions
Prints a dump of what tensors and what nodes are in the interpreter.
Resets a variable tensor to the default value.
Functions
@spec print_interpreter_state(reference()) :: nil
Prints a dump of what tensors and what nodes are in the interpreter.
Note that this function directly prints to stdout
@spec reset_variable_tensor( %TFLiteElixir.TFLiteTensor{ index: term(), name: term(), quantization_params: term(), reference: term(), shape: term(), shape_signature: term(), sparsity_params: term(), type: term() } | reference() ) :: :ok | {:error, String.t()}
Resets a variable tensor to the default value.