Source code for barrage.utils.tf_utils
import tensorflow as tf
[docs]def reset():
"""Clear graph and reset layer names."""
tf.keras.backend.clear_session()
tf.keras.backend.reset_uids()
import tensorflow as tf
[docs]def reset():
"""Clear graph and reset layer names."""
tf.keras.backend.clear_session()
tf.keras.backend.reset_uids()