tensorflow::Env::IsDirectory()

Status tensorflow::Env::IsDirectory(const string &fname)

Returns whether the given path is a directory or not. Typical return codes (not guaranteed exhaustive):

OK - The path exists and is a directory.

FAILED_PRECONDITION - The path exists and is not a directory.

NOT_FOUND - The path entry does not exist.

PERMISSION_DENIED - Insufficient permissions.

UNIMPLEMENTED - The file factory doesn't support directories.

doc_TensorFlow
2016-10-14 18:57:01
Comments
Leave a Comment

Please login to continue.