openvino.runtime.opset4.batch_to_space¶
- openvino.runtime.opset4.batch_to_space(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], block_shape: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], crops_begin: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], crops_end: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], name: Optional[str] = None) openvino._pyopenvino.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.