Rate this Page
★ ★ ★ ★ ★

torch.fx.experimental.migrate_gradual_types.constraint_transformation.valid_index#

torch.fx.experimental.migrate_gradual_types.constraint_transformation.valid_index = <function valid_index>[source]#

Given a list of dimensions, checks if an index is valid in the list

Return type:

Constraint