Home
last modified time | relevance | path

Searched refs:is_sorted_and_consecutive (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/pytorch/torch/_inductor/fx_passes/
H A Dsplit_cat.py1053 if not is_sorted_and_consecutive(getitem_indices) or len( # type: ignore[arg-type]
1374 def is_sorted_and_consecutive(arr: List[int]) -> bool: function
1432 if not is_sorted_and_consecutive(indices):
1533 if not is_sorted_and_consecutive(indices):
1661 if get_arg_value(select_nodes[0], 2, "index") != 0 or not is_sorted_and_consecutive(
1720 if len(split_size) == len(getitem_indices) and is_sorted_and_consecutive(
1827 elif len(getitem_indices) >= threshold_to_cat and is_sorted_and_consecutive(