openvino.runtime.opset10.scatter_update

openvino.runtime.opset10.scatter_update(data: openvino._pyopenvino.Node, indices: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], updates: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], axis: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], name: Optional[str] = None) openvino._pyopenvino.Node

Return a node which produces a ScatterUpdate operation.

ScatterUpdate sets new values to slices from data addressed by indices.

Parameters
  • data – The input tensor to be updated.

  • indices – The tensor with indexes which will be updated.

  • updates – The tensor with update values.

  • axis – The axis at which elements will be updated.

Returns

ScatterUpdate node