tf.keras.backend.set_session

tf.keras.backend.set_session(session)

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

Sets the global TensorFlow session.

Arguments:

  • session: A TF Session.