mindspore.ops.Range

class mindspore.ops.Range(maxlen=1000000)[source]
prim = ops.Range(maxlen)
out = prim(start, end, step)

is equivalent to

ops.range(start, end, step, maxlen)

Refer to mindspore.ops.range() for more details.