ScatterND

Description

Creates a copy of data and updates the data in the specified indices based on updates.

Input

  • data: input tensor of type float16 or float.
  • indices: input tensor with the dimension of indices.shape[-1]<=data. The data type is int64.
  • updates: tensor of type float16 or float. Shape dimension = data dimension + indices dimension - indices_shape[-1] - 1.

Output

y: output tensor of the identical data type and shape as input data.

Constraints

The index value of indices cannot be a negative number.

ONNX Opset Support

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