WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1794237318.341768 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)
| Option | Description | Source |
|---|
-h, --help | show this help message and exit | help |
--output_file OUTPUT_FILE | Full filepath of the output file. | help |
--saved_model_dir SAVED_MODEL_DIR | Full path of the directory containing the SavedModel. | help |
--keras_model_file KERAS_MODEL_FILE | Full filepath of HDF5 file containing tf.Keras model. | help |
--saved_model_tag_set SAVED_MODEL_TAG_SET | Comma-separated set of tags identifying the MetaGraphDef within the SavedModel to analyze. | help |
--saved_model_signature_key SAVED_MODEL_SIGNATURE_KEY | Key identifying the SignatureDef containing inputs and outputs. | help |
--enable_v1_converter | Enables the TensorFlow V1 converter in 2.0 | help |
--experimental_new_converter EXPERIMENTAL_NEW_CONVERTER | Experimental flag, subject to change. | help |
--experimental_new_quantizer EXPERIMENTAL_NEW_QUANTIZER | Experimental 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.