openvino.runtime.opset7.gather#
- openvino.runtime.opset7.gather(data: Node | int | float | ndarray, indices: Node | int | float | ndarray, axis: Node | int | float | ndarray, batch_dims: int | None = 0, name: str | None = None) Node #
Return a node which performs Gather.
- Parameters:
data – N-D tensor with data for gathering
indices – N-D tensor with indices by which data is gathered
axis – axis along which elements are gathered
batch_dims – number of batch dimensions
name – Optional output node name.
- Returns:
The new node which performs Gather