diff options
Diffstat (limited to 'tensorflow/core/public/session.h')
-rw-r--r-- | tensorflow/core/public/session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/public/session.h b/tensorflow/core/public/session.h index d58c877cfd..cc8596ef3d 100644 --- a/tensorflow/core/public/session.h +++ b/tensorflow/core/public/session.h @@ -237,7 +237,7 @@ class Session { /// If session creation succeeds, the new `Session` will be stored in /// `*out_session`, the caller will take ownership of the returned /// `*out_session`, and this function will return `OK()`. Otherwise, this -/// function will return an error status. +/// function will return an error status and set *out_session to nullptr. Status NewSession(const SessionOptions& options, Session** out_session); /// \brief Resets resource containers associated with a target. |