openvino.runtime.opset4.batch_to_space#

openvino.runtime.opset4.batch_to_space(data: Node | int | float | ndarray, block_shape: Node | int | float | ndarray, crops_begin: Node | int | float | ndarray, crops_end: Node | int | float | ndarray, name: str | None = None) Node#

Perform BatchToSpace operation on the input tensor.

BatchToSpace permutes data from the batch dimension of the data tensor into spatial dimensions.

Parameters:
  • data – Node producing the data tensor.

  • block_shape – The sizes of the block of values to be moved.

  • crops_begin – Specifies the amount to crop from the beginning along each axis of data.

  • crops_end – Specifies the amount to crop from the end along each axis of data.

  • name – Optional output node name.

Returns:

The new node performing a BatchToSpace operation.