GB4778

Graph-Break Type

Short name describing what triggered the graph break

nested function with non-constructible closure in output

Context

Values or code snippet captured at the break point

as_python_constant for out_spec {out_spec}

Explanation

Explanation of why the graph break was triggered

Cannot return a nested function with closure from a compiled function. Dynamo failed to construct the function defined in the compiled region with closure objects.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry