TensorFlow 2.0 RC is available Learn more

tf.keras.backend.set_session

View source on GitHub

Sets the global TensorFlow session.

Aliases:

  • tf.compat.v1.keras.backend.set_session
tf.keras.backend.set_session(session)

Arguments:

  • session: A TF Session.