BatchToSpace for 4-D tensors of type T.
Compat aliases for migration
See Migration guide for more details.
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
width dimensions, followed by cropping along the
| || A |
| || A |
crops = [[crop_top, crop_bottom], [crop_left, crop_right]]
| || An |
| ||A name for the operation (optional).|
| A |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.