Rate this Page

torch.fx.experimental.migrate_gradual_types.constraint_transformation.generate_gub#

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

Transform greatest upper bound for tensors. Results in equality and Greatest Upper Bound on dimensions

Return type:

tuple[Constraint, int]