openvino.runtime.opset7.gather¶
- openvino.runtime.opset7.gather(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], indices: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], axis: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], batch_dims: Optional[int] = 0) openvino._pyopenvino.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
- Returns
The new node which performs Gather