tensorflow::Env::GetChildren()

Status tensorflow::Env::GetChildren(const string &dir, std::vector< string > *result) Stores in *result the names of the children of the specified directory. The names are relative to "dir". Original contents of *results are dropped.

tensorflow::Env::FileExists()

bool tensorflow::Env::FileExists(const string &fname) Returns true iff the named file exists.

tensorflow::Env::Env()

tensorflow::Env::Env()

tensorflow::Env::DeleteRecursively()

Status tensorflow::Env::DeleteRecursively(const string &dirname, int64 *undeleted_files, int64 *undeleted_dirs) Deletes the specified directory and all subdirectories and files underneath it. undeleted_files and undeleted_dirs stores the number of files and directories that weren't deleted (unspecified if the return status is not OK). REQUIRES: undeleted_files, undeleted_dirs to be not null. Typical return codes. OK - dirname exists and we were able to delete everything underneath. NOT_FOU

tensorflow::Env::DeleteFile()

Status tensorflow::Env::DeleteFile(const string &fname) Deletes the named file.

tensorflow::Env::DeleteDir()

Status tensorflow::Env::DeleteDir(const string &dirname) Deletes the specified directory.

tensorflow::Env::Default()

static Env* tensorflow::Env::Default() Returns a default environment suitable for the current operating system. Sophisticated users may wish to provide their own Env implementation instead of relying on this default environment. The result of Default() belongs to this library and must never be deleted.

tensorflow::Env::CreateDir()

Status tensorflow::Env::CreateDir(const string &dirname) Creates the specified directory.

tensorflow::Env

An interface used by the tensorflow implementation to access operating system functionality like the filesystem etc. Callers may wish to provide a custom Env object to get fine grain control. All Env implementations are safe for concurrent access from multiple threads without any external synchronization. Member Details tensorflow::Env::Env() virtual tensorflow::Env::~Env()=default Status tensorflow::Env::GetFileSystemForFile(const string &fname, FileSystem **result) Returns the FileSystem

tf.zeta()

tf.zeta(x, q, name=None) Compute the Hurwitz zeta function \(\zeta(x, q)\). The Hurwitz zeta function is defined as: \zeta(x, q) = \sum_{n=0}^{\infty} (q + n)^{-x} Args: x: A Tensor. Must be one of the following types: float32, float64. q: A Tensor. Must have the same type as x. name: A name for the operation (optional). Returns: A Tensor. Has the same type as x.