python 3.7 tensorflow 2.0
Create a model. K.clear_session(). Create a model.
The layer names are not being reset. Can create example if this does not make sense immediately.
The backend function: keras.backend.reset_uids() does what you want.
keras.backend.reset_uids()
Most helpful comment
The backend function:
keras.backend.reset_uids()does what you want.