TensorFlow 1 version | View source on GitHub |
Returns file statistics for a given path.
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. |