ScatterElements

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 type float16, float, or int32.

Output

One output:

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

Attribute

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

ONNX Opset Support

Opset v11/v12/v13/v14/v15/v16/v17/v18