GB8165

Graph-Break Type

Short name describing what triggered the graph break

torch.switch: 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.switch expects 3 positional arguments (got {len(args)}) and no keyword arguments (got {len(kwargs)}) Usage: switch(index, branches, operands)

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry