I\'ve seen people using several functions from tf.gfile such as tf.gfile.GFile or tf.gfile.Exists. I have the idea that tf.gfile
tf.gfile
tf.gfile.GFile
tf.gfile.Exists
As you correctly point out tf.gfile is an abstraction for accessing the filesystem and is documented here. It is recommended over using plain python API since it provides some level of portability.