tf.compat.v1.gfile.IsDirectory

View source on GitHub

Returns whether the path is a directory or not.

tf.compat.v1.gfile.IsDirectory(
    dirname
)

Args:

Returns:

True, if the path is a directory; False otherwise