TensorFlow

API

 tf.compat / v1 / v1.get_default_graph


Returns the default session for the current thread.

The returned Session will be the innermost session on which a Session or Session.as_default() context has been entered.

The default Session being used in the current thread.

此页内容是否对您有帮助