Rate this Page
★ ★ ★ ★ ★

torch.fx.experimental.graph_gradual_typechecker.linear_refinement_rule#

torch.fx.experimental.graph_gradual_typechecker.linear_refinement_rule(n)[source]#

The equality constraints are between the first dimension of the input and output

Return type:

list[Any]