MCPcopy
hub / github.com/facefusion/facefusion / create_int_range

Function create_int_range

facefusion/common_helper.py:25–32  ·  view source on GitHub ↗
(start : int, end : int, step : int)

Source from the content-addressed store, hash-verified

23
24
25def create_int_range(start : int, end : int, step : int) -> Sequence[int]:
26 int_range = []
27 current = start
28
29 while current <= end:
30 int_range.append(current)
31 current += step
32 return int_range
33
34
35def create_float_range(start : float, end : float, step : float) -> Sequence[float]:

Callers 9

choices.pyFile · 0.90
choices.pyFile · 0.90
choices.pyFile · 0.90
choices.pyFile · 0.90
choices.pyFile · 0.90
choices.pyFile · 0.90
choices.pyFile · 0.90
choices.pyFile · 0.90
test_create_int_rangeFunction · 0.90

Calls

no outgoing calls

Tested by 1

test_create_int_rangeFunction · 0.72