ngraph.opset4.scatter_update

ngraph.opset4.scatter_update(data: _pyngraph.Node, indices: Union[_pyngraph.Node, int, float, numpy.ndarray], updates: Union[_pyngraph.Node, int, float, numpy.ndarray], axis: Union[_pyngraph.Node, int, float, numpy.ndarray], name: Optional[str] = None) _pyngraph.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