Contents

BNNSShuffleTypePixelUnshuffleNCHW

The pixel unshuffle for the NCHW (batch, channels, height, width) format, equivalent to space-to-depth in Column Row Depth (CRD) mode.

Declaration

var BNNSShuffleTypePixelUnshuffleNCHW: BNNSShuffleType { get }

Discussion

Use this shuffle type to reverse the pixel shuffle operation by rearranging elements in a tensor of shape (N,C,H×r,W×r) to a tensor of shape (N,C×rxr,H,W), where r is a downscale factor

See Also

Constants