<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNSShuffleType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@EA@BNNSShuffleType"
  },
  "title" : "BNNSShuffleType"
}
-->

# BNNSShuffleType

Constants that specify a shuffle type.

```
struct BNNSShuffleType
```

## Topics

### Raw Values

### Constants

[`init(_:)`](/documentation/Accelerate/BNNSShuffleType/init(_:))

[`init(rawValue:)`](/documentation/Accelerate/BNNSShuffleType/init(rawValue:))

[`rawValue`](/documentation/Accelerate/BNNSShuffleType/rawValue)

[`BNNSShuffleTypePixelShuffleNCHW`](/documentation/Accelerate/BNNSShuffleTypePixelShuffleNCHW)

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

[`BNNSShuffleTypePixelUnshuffleNCHW`](/documentation/Accelerate/BNNSShuffleTypePixelUnshuffleNCHW)

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

[`BNNSShuffleTypeDepthToSpaceNCHW`](/documentation/Accelerate/BNNSShuffleTypeDepthToSpaceNCHW)

[`BNNSShuffleTypeSpaceToDepthNCHW`](/documentation/Accelerate/BNNSShuffleTypeSpaceToDepthNCHW)

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)