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

# BNNSMHAProjectionParameters

A structure that contains multihead attention projection parameters.

```
struct BNNSMHAProjectionParameters
```

## Topics

### Initializers

[`init(target_desc:weights:bias:)`](/documentation/Accelerate/BNNSMHAProjectionParameters/init(target_desc:weights:bias:))

Returns a new multihead attention projection parameters structure from the specified parameters.

[`init()`](/documentation/Accelerate/BNNSMHAProjectionParameters/init())

Returns a new multihead attention projection parameters structure.

### Instance Properties

[`target_desc`](/documentation/Accelerate/BNNSMHAProjectionParameters/target_desc)

The descriptor—which is either an input query, key, or value, or an output—of the main target of the operation.

[`weights`](/documentation/Accelerate/BNNSMHAProjectionParameters/weights)

The descriptor of the initial projection’s weights.

[`bias`](/documentation/Accelerate/BNNSMHAProjectionParameters/bias)

The descriptor of the initial projection’s bias.



---

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)