torch.fx.experimental.migrate_gradual_types.constraint_transformation.gen_greatest_upper_bound#
- torch.fx.experimental.migrate_gradual_types.constraint_transformation.gen_greatest_upper_bound(constraint, counter)[source]#
- Parameters:
constraint (TGreatestUpperBound) – Greatest upper bound on tensors
counter (int) – variable tracking
- Return type:
Returns: A set of equality constraints and DGreatestUpperBound constraints