diff options
author | Asim Shankar <ashankar@google.com> | 2016-11-09 08:21:50 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-11-09 08:41:53 -0800 |
commit | e580e721cc1a205cb4b7afe64bc6af4d775a4851 (patch) | |
tree | 04338afa9d4f905c632d084dd964261eae9b8668 /RELEASE.md | |
parent | 988fec702bb0c23613cfd3ba76d04bf41c1a7c59 (diff) |
C API: Rename TF_SessionWithGraph to TF_Session.
This makes the preferred API for graph construction and
execution have the simpler, more sensible names (TF_Session,
TF_NewSession etc.) and the older one which we hope to
eventually remove have the more awkward ones (TF_DeprecatedSession,
TF_NewDeprecatedSession etc.)
Change: 138641615
Diffstat (limited to 'RELEASE.md')
-rw-r--r-- | RELEASE.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/RELEASE.md b/RELEASE.md index 729a237921..7dc78be02d 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -8,8 +8,9 @@ BUS_ANY was used. * `Env::FileExists` and `FileSystem::FileExists` now return a tensorflow::Status intead of a bool. Any callers to this function can be converted to a bool by adding .ok() to the call. -* The C API type `TF_Session` has been renamed to `TF_DeprecatedSession`. - Please use `TF_SessionWithGraph` instead. +* The C API type `TF_SessionWithGraph` has been renamed to `TF_Session`, + indicating its preferred use in language bindings for TensorFlow. + What was previously `TF_Session` has been renamed to `TF_DeprecatedSession`. * Renamed Tensor to Output in the Python API. Tensor will be an alias for Output until TensorFlow 2.0 is released. |