GB0303

Graph-Break Type

Short name describing what triggered the graph break

torch.while_loop: improper args/kwargs

Context

Values or code snippet captured at the break point

args: {args}, kwargs: {kwargs}

Explanation

Explanation of why the graph break was triggered

torch.while_loop expects 4 positional arguments (got {len(args)}) and no keyword arguments (got {len(kwargs)}) Usage: while_loop(cond_fn, body_fn, operands)

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry