Rate this Page

torch.fx.experimental.migrate_gradual_types.constraint_transformation.register_transformation_rule#

torch.fx.experimental.migrate_gradual_types.constraint_transformation.register_transformation_rule(call_target)[source]#
Return type:

Callable[[Callable[[Constraint, int], tuple[Constraint, int]]], Callable[[Constraint, int], tuple[Constraint, int]]]