Rate this Page

torch.fx.experimental.migrate_gradual_types.constraint_transformation.generate_broadcasting#

torch.fx.experimental.migrate_gradual_types.constraint_transformation.generate_broadcasting(constraint, counter)[source]#

Transform broadcasting constraints

Return type:

tuple[Constraint, int]