Range

Description

Generates tensors with consecutive sequences based on the step interval from start to end.

Input

  • start: scalar of type float16, float, int32, or int64.
  • end: scalar of the identical data type as start.
  • step: scalar of type float16, float, int32, or int64.

Output

y: output tensor of the identical data type as start.

Constraints

None.

ONNX Opset Support

Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18.