<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNS",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:10Accelerate4BNNSO"
  },
  "title" : "BNNS"
}
-->

# BNNS

An enumeration that acts as a namespace for Swift overlays to BNNS.

```
enum BNNS
```

## Topics

### Base Classes

[`BNNS.Layer`](/documentation/Accelerate/BNNS/Layer)

The base class for layer objects that wrap filters and manage deinitialization.

[`BNNS.UnaryLayer`](/documentation/Accelerate/BNNS/UnaryLayer)

The base class for layers that accept a single input.

[`BNNS.BinaryLayer`](/documentation/Accelerate/BNNS/BinaryLayer)

The base class for layers that accept two inputs.



---

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)