Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tflite_support.metadata_writers.writer_utils.load_file

Loads file from the file path.

file_path valid file path string.
mode a string specifies the model in which the file is opened. Use "rt" for reading in text mode; use "rb" for reading in binary mode.

The loaded file in str or bytes.