Scatter

Description

Returns the result by updating the values of the input data to values specified by updates at specific index positions specified by indices.

Input

Three inputs:

data: tensor of type float16, float, or int32.

indices: tensor of type int32 or int64.

updates: tensor of the identical data type as data.

Output

One output:

y: tensor. Has the same shape and data type as the input data.

Property

axis: int. Defaults to 0, indicating that data is obtained along the axis.

ONNX Opset Support

Opset v9/v10/v11