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


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.