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

Link to this function

reset_variable_tensor(reference)

View Source
@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.