tf.io.gfile.stat
Returns file statistics for a given path.
Aliases:
tf.compat.v1.io.gfile.stat
tf.compat.v2.io.gfile.stat
tf.io.gfile.stat(path)
Args:
path
: string, path to a file
Returns:
FileStatistics struct that contains information about the path
Raises:
errors.OpError
: If the operation fails.