OS Manuals

/usr/bin/tflite_convert

Executable binaries for tensorflow-core installed for python3.11

From py3.11-tensorflow-core-bin 2.21.0-r10 (enterprise-packages), captured 2026-11-09 by running tflite_convert --help (exit 0). permalink

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1794237241.194089       2 cpu_feature_guard.cc:227] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
usage: tflite_convert [-h] --output_file OUTPUT_FILE
                      [--saved_model_dir SAVED_MODEL_DIR | --keras_model_file KERAS_MODEL_FILE]
                      [--saved_model_tag_set SAVED_MODEL_TAG_SET]
                      [--saved_model_signature_key SAVED_MODEL_SIGNATURE_KEY]
                      [--enable_v1_converter]
                      [--experimental_new_converter [EXPERIMENTAL_NEW_CONVERTER]]
                      [--experimental_new_quantizer [EXPERIMENTAL_NEW_QUANTIZER]]

Command line tool to run TensorFlow Lite Converter.

options:
  -h, --help            show this help message and exit
  --output_file OUTPUT_FILE
                        Full filepath of the output file.
  --saved_model_dir SAVED_MODEL_DIR
                        Full path of the directory containing the SavedModel.
  --keras_model_file KERAS_MODEL_FILE
                        Full filepath of HDF5 file containing tf.Keras model.
  --saved_model_tag_set SAVED_MODEL_TAG_SET
                        Comma-separated set of tags identifying the MetaGraphDef within the
                        SavedModel to analyze. All tags must be present. In order to pass in an
                        empty tag set, pass in "". (default "serve")
  --saved_model_signature_key SAVED_MODEL_SIGNATURE_KEY
                        Key identifying the SignatureDef containing inputs and outputs. (default
                        DEFAULT_SERVING_SIGNATURE_DEF_KEY)
  --enable_v1_converter
                        Enables the TensorFlow V1 converter in 2.0
  --experimental_new_converter [EXPERIMENTAL_NEW_CONVERTER]
                        Experimental flag, subject to change. Enables MLIR-based conversion
                        instead of TOCO conversion. (default True)
  --experimental_new_quantizer [EXPERIMENTAL_NEW_QUANTIZER]
                        Experimental flag, subject to change. Enables MLIR-based quantizer instead
                        of flatbuffer conversion. (default True)
Options (9)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
--output_file OUTPUT_FILEFull filepath of the output file.help
--saved_model_dir SAVED_MODEL_DIRFull path of the directory containing the SavedModel.help
--keras_model_file KERAS_MODEL_FILEFull filepath of HDF5 file containing tf.Keras model.help
--saved_model_tag_set SAVED_MODEL_TAG_SETComma-separated set of tags identifying the MetaGraphDef within the SavedModel to analyze.help
--saved_model_signature_key SAVED_MODEL_SIGNATURE_KEYKey identifying the SignatureDef containing inputs and outputs.help
--enable_v1_converterEnables the TensorFlow V1 converter in 2.0help
--experimental_new_converter EXPERIMENTAL_NEW_CONVERTERExperimental flag, subject to change.help
--experimental_new_quantizer EXPERIMENTAL_NEW_QUANTIZERExperimental flag, subject to change.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.