tensorflow::SessionOptions

Configuration information for a Session . Member Details Env* tensorflow::SessionOptions::env The environment to use. string tensorflow::SessionOptions::target The TensorFlow runtime to connect to. If 'target' is empty or unspecified, the local TensorFlow runtime implementation will be used. Otherwise, the TensorFlow engine defined by 'target' will be used to perform all computations. "target" can be either a single entry or a comma separated list of entries. Each entry is a resolvable address

tensorflow::SessionOptions::config

ConfigProto tensorflow::SessionOptions::config Configuration options.

tensorflow::Session::PRunSetup()

virtual Status tensorflow::Session::PRunSetup(const std::vector< string > &input_names, const std::vector< string > &output_names, const std::vector< string > &target_nodes, string *handle) Sets up a graph for partial execution. All future feeds and fetches are specified by input_names and output_names. Returns handle that can be used to perform a sequence of partial feeds and fetches. NOTE: This API is still experimental and may change.

tensorflow::Session

A Session instance lets a caller drive a TensorFlow graph computation. When a Session is created with a given target, a new Session object is bound to the universe of resources specified by that target. Those resources are available to this session to perform computation described in the GraphDef. After extending the session with a graph, the caller uses the Run() API to perform the computation and potentially fetch outputs as Tensors. Example: // ... Create or load graph into "graph". // This

tensorflow::Session::Close()

virtual Status tensorflow::Session::Close(const RunOptions &run_options)

tensorflow::RandomAccessFile::Read()

virtual Status tensorflow::RandomAccessFile::Read(uint64 offset, size_t n, StringPiece *result, char *scratch) const =0 Reads up to n bytes from the file starting at offset. scratch[0..n-1] may be written by this routine. Sets *result to the data that was read (including if fewer than n bytes were successfully read). May set *result to point at data in scratch[0..n-1], so scratch[0..n-1] must be live when *result is used. On OK returned status: n bytes have been stored in *result. On non-OK re

tensorflow::RandomAccessFile::~RandomAccessFile()

tensorflow::RandomAccessFile::RandomAccessFile()

tensorflow::Session::Create()

virtual Status tensorflow::Session::Create(const GraphDef &graph)=0 Create the graph to be used for the session. Returns an error if this session has already been created with a graph. To re-use the session with a different graph, the caller must Close() the session first.

tensorflow::PartialTensorShape::PartialTensorShape()

tensorflow::PartialTensorShape::PartialTensorShape() Construct an unknown PartialTensorShape.

tensorflow::RandomAccessFile

A file abstraction for randomly reading the contents of a file. Member Details tensorflow::RandomAccessFile::RandomAccessFile() tensorflow::RandomAccessFile::~RandomAccessFile() virtual Status tensorflow::RandomAccessFile::Read(uint64 offset, size_t n, StringPiece *result, char *scratch) const =0 Reads up to n bytes from the file starting at offset. scratch[0..n-1] may be written by this routine. Sets *result to the data that was read (including if fewer than n bytes were successfully read). Ma