tf.compat.v1.gfile.Stat

Returns file statistics for a given path.

filename string, path to a file

FileStatistics struct that contains information about the path

errors.OpError If the operation fails.