mindspore.ops.Range

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

等价于

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

更多详情请查看: mindspore.ops.range()