title: Difference between ClientSession and Session in TensorFlow C++ API
body: <p>TensorFlow r1.0 C++ API comes with <code>Session</code> and <code>ClientSession</code> classes. Some of the examples shipping with TensorFlow use <code>ClientSession</code> and others use <code>Session</code>. Do these two different types of session use the same underlying mechanism under the hood or is one of the preferred over another? The syntax for using them is a bit different but other than that are there any differences in behavior?</p>