tf.reset_default_graph

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

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.reset_default_graph