Searched refs:interval_length (Results 1 – 2 of 2) sorted by relevance
320 int64 interval_length; in ValidateStridedSliceOp() local323 interval_length = end_i - begin_i; in ValidateStridedSliceOp()328 interval_length = 1; in ValidateStridedSliceOp()336 interval_length = -dim_i; in ValidateStridedSliceOp()338 interval_length = dim_i; in ValidateStridedSliceOp()347 if (interval_length == 0 || ((interval_length < 0) != (stride_i < 0))) { in ValidateStridedSliceOp()350 size_i = interval_length / stride_i + in ValidateStridedSliceOp()351 (interval_length % stride_i != 0 ? 1 : 0); in ValidateStridedSliceOp()
2460 interval_length = end - begin2461 if interval_length == 0 or ((interval_length < 0) != (stride < 0)):2464 remainder = 1 if interval_length % stride != 0 else 02465 return interval_length // stride + remainder