GB2492

Graph-Break Type

Short name describing what triggered the graph break

autograd.Function.apply: invalid set_output_grad_dtype

Context

Values or code snippet captured at the break point

declarations {ctx.output_grad_dtypes} for {num_grad_args} outputs

Explanation

Explanation of why the graph break was triggered

ctx.set_output_grad_dtype must declare one dtype per forward output, and None for non-tensor outputs.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry