openvino.runtime.opset6.gather#

openvino.runtime.opset6.gather(data: Node | int | float | ndarray, indices: Node | int | float | ndarray, axis: Node | int | float | ndarray, name: str | None = None) Node#

Return Gather node which takes slices from axis of data according to indices.

Parameters:
  • data – The tensor from which slices are gathered.

  • indices – Tensor with indexes to gather.

  • axis – The dimension index to gather data from.

  • name – Optional name for output node.

Returns:

The new node performing a Gather operation on the data input tensor.