Rate this Page
★ ★ ★ ★ ★

torch.fx.experimental.migrate_gradual_types.constraint_transformation.generate_reshape#

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

Transform reshape constraints

Return type:

tuple[Constraint, int]