Short name describing what triggered the graph break
Attempted to use torch.nn.functional.one_hot
with data-dependent output shape
Values or code snippet captured at the break point
args={args}, kwargs={kwargs}
Explanation of why the graph break was triggered
Dynamo does not support this.
Hints on how to resolve the graph break
num_classes
param of the function calltorch.nn.functional.one_hot
to something other than -1.