tf.compat.v1.reset_default_graph

Stay organized with collections Save and categorize content based on your preferences.

View source on GitHub

Clears the default graph stack and resets the global default graph.