/TensorFlow Python

Module: tf.gfile

Defined in tensorflow/tools/api/generator/api/gfile/__init__.py.

Imports for Python API.

This file is MACHINE GENERATED! Do not edit. Generated by: tensorflow/tools/api/generator/create_python_api.py script.


class FastGFile: File I/O wrappers without thread locking.

class GFile: File I/O wrappers without thread locking.

class Open: File I/O wrappers without thread locking.


Copy(...): Copies data from oldpath to newpath.

DeleteRecursively(...): Deletes everything under dirname recursively.

Exists(...): Determines whether a path exists or not.

Glob(...): Returns a list of files that match the given pattern(s).

IsDirectory(...): Returns whether the path is a directory or not.

ListDirectory(...): Returns a list of entries contained within a directory.

MakeDirs(...): Creates a directory and all parent/intermediate directories.

MkDir(...): Creates a directory with the name 'dirname'.

Remove(...): Deletes the file located at 'filename'.

Rename(...): Rename or move a file / directory.

Stat(...): Returns file statistics for a given path.

Walk(...): Recursive directory tree generator for directories.

Other Members




© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.