当前位置: 首页 > 文档资料 > Edward 中文文档 >

ed.get_session

优质
小牛编辑
126浏览
2023-12-01

Aliases:

  • ed.get_session
  • ed.util.get_session
get_session()

Defined in edward/util/graphs.py.

Get the globally defined TensorFlow session.

If the session is not already defined, then the function will create a global session.

Returns:

  • _ED_SESSION: tf.InteractiveSession.