GB6012

Graph-Break Type

Short name describing what triggered the graph break

Cannot trace user-defined len

Context

Values or code snippet captured at the break point

{self.python_type_name()}.len()

Explanation

Explanation of why the graph break was triggered

Dynamo cannot trace len() on {self.python_type_name()} because the len method is either not traceable (e.g., defined in C or built-in) or returns a non-constant value.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry