tflite_support.metadata_writers.writer_utils.save_file

Loads file from the file path.

file_bytes the bytes to be saved to file.
save_to_path valid file path string.
mode a string specifies the model in which the file is opened. Use "wt" for writing in text mode; use "wb" for writing in binary mode.

The loaded file in str or bytes.