ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


Returns the default graph for the current thread.

The returned graph will be the innermost graph on which a Graph.as_default() context has been entered, or a global default graph if none has been explicitly created.

The default Graph being used in the current thread.