This function is deprecated. Use tf.compat.v1.reset_default_graph()
instead.
Update This is not the only function to be out of date. Check out this answer for release notes and a conversion script.
Change:
import keras.<something>.<something>
to:
import tensorflow.keras.<something>.<something>
Where 'something' is the module you want to import