ngraph.opset2.batch_to_space

ngraph.opset2.batch_to_space(data: Union[_pyngraph.Node, int, float, numpy.ndarray], block_shape: Union[_pyngraph.Node, int, float, numpy.ndarray], crops_begin: Union[_pyngraph.Node, int, float, numpy.ndarray], crops_end: Union[_pyngraph.Node, int, float, numpy.ndarray], name: Optional[str] = None) _pyngraph.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.