BatchToSpace for 4-D tensors of type T.
tf.raw_ops.BatchToSpace(
input, crops, block_size, name=None
)
This is a legacy version of the more general BatchToSpaceND.
Rearranges (permutes) data from batch into blocks of spatial data, followed by
cropping. This is the reverse transformation of SpaceToBatch. More specifically,
this op outputs a copy of the input tensor where values from the batch
dimension are moved in spatial blocks to the height
and width
dimensions,
followed by cropping along the height
and width
dimensions.
Returns | |
---|---|
A Tensor . Has the same type as input .
|