openvino.runtime.opset8.split

openvino.runtime.opset8.split(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], axis: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], num_splits: int, name: Optional[str] = None) openvino._pyopenvino.Node

Return a node which splits the input tensor into same-length slices.

Parameters
  • data – The input tensor to be split

  • axis – Axis along which the input data will be split

  • num_splits – Number of the output tensors that should be produced

Returns

Split node