Rate this Page

torch.fx.experimental.migrate_gradual_types.constraint_transformation.generate_d_gub#

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

Transform greatest upper bound for dimensions into equality constraints

Return type:

tuple[Constraint, int]