tf.keras.backend.set_session

tf.keras.backend.set_session(session)

Defined in tensorflow/python/keras/_impl/keras/backend.py.

Sets the global TensorFlow session.

Arguments:

  • session: A TF Session.