openvino.runtime.opset5.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.

  • 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.


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