depth_to_space¶
dragon.vm.tensorflow.nn.
depth_to_space
(
input,
block_size,
data_format='NHWC',
name=None
)[source]¶Rearrange depth data into spatial blocks.
Examples:
- Parameters:
- input (dragon.Tensor) – The input tensor.
- block_size (int, required) – The size of spatial block.
- data_format ({'NCHW', 'NHWC'}, optional) – The optional data format.
- name (str, optional) – The operation name.
- Returns:
dragon.Tensor – The output tensor.