MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / ClientSession

Class ClientSession

tensorflow/cc/client/client_session.h:47–97  ·  view source on GitHub ↗

A `ClientSession` object lets the caller drive the evaluation of the TensorFlow graph constructed with the C++ API. Example: Scope root = Scope::NewRootScope(); auto a = Placeholder(root, DT_INT32); auto c = Add(root, a, {41}); ClientSession session(root); std::vector outputs; Status s = session.Run({ {a, {1}} }, {c}, &outputs); if (!s.ok()) { ... }

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

RunMethod · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 2

RunMethod · 0.68
TEST_FFunction · 0.68