tensorflow

Summary

Typedefs

StatusCallback typedef
std::function< void(const Status &)>

Functions

NewSession(const SessionOptions & options, Session **out_session)
Create a new session with the given options.
NewSession(const SessionOptions & options)
Create a new session with the given options.
ReadBinaryProto(Env *env, const string & fname, ::tensorflow::protobuf::MessageLite *proto)
Reads contents of named file and parse as binary encoded proto data and store into *proto.
ReadFileToString(Env *env, const string & fname, string *data)
A utility routine: reads contents of named file into *data
ReadTextProto(Env *env, const string & fname, ::tensorflow::protobuf::Message *proto)
Read contents of named file and parse as text encoded proto data and store into *proto.
Reset(const SessionOptions & options, const std::vector< string > & containers)
Resets resource containers associated with a target.
TfCheckOpHelper(::tensorflow::Status v, const char *msg)
tensorflow::string *
TfCheckOpHelperOutOfLine(const ::tensorflow::Status & v, const char *msg)
tensorflow::string *
WriteBinaryProto(Env *env, const string & fname, const ::tensorflow::protobuf::MessageLite & proto)
Write binary representation of "proto" to the named file.
WriteStringToFile(Env *env, const string & fname, const StringPiece & data)
A utility routine: write contents of data to file named fname (overwriting existing contents, if any).
WriteTextProto(Env *env, const string & fname, const ::tensorflow::protobuf::Message & proto)
Write the text representation of "proto" to the named file.
operator<<(std::ostream & os, const Status & x)
std::ostream &

Classes

tensorflow::Env

An interface used by the tensorflow implementation to access operating system functionality like the filesystem etc.

tensorflow::EnvWrapper

An implementation of Env that forwards all calls to another Env.

tensorflow::FileSystem

A generic int