Contents

BNNSShuffleTypePixelShuffleNCHW

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

Declaration

var BNNSShuffleTypePixelShuffleNCHW: BNNSShuffleType { get }

Discussion

Use this shuffle type to rearrange the elements in a tensor of shape (N,C×rxr,H,W) to a tensor of shape (N,C,H×r,W×r), where r is an upscale factor.

See Also

Constants