Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 686 Bytes

environment_variables.md

File metadata and controls

10 lines (7 loc) · 686 Bytes

Environment variables

The backends respond to a few environment variables that can be helpful for debugging when developing the backends.

accelerate-tensorflow:

  • ACCELERATE_TF_PRINT_TFGRAPH: when compiling a model, print GraphViz DOT representations of the generated TensorFlow graphs to stdout.

accelerate-tensorflow-lite:

  • ACCELERATE_TFLITE_PRINT_TFGRAPH: when compiling a model, print GraphViz DOT representations of the generated TensorFlow graphs to stdout.
  • ACCELERATE_TFLITE_PRESERVE_TEMP: do not remove the temporary working directories (in /tmp) containing inputs and outputs of the TFLite conversion process (converter.py as well as edgetpu_compiler).