Short name describing what triggered the graph break
torch.while_loop: infinite loop detected
Values or code snippet captured at the break point
str(cond_r)
Explanation of why the graph break was triggered
Infinite loop detected because while_loop’s cond_fn always returns the same value {pred}.
Hints on how to resolve the graph break