---
title: descriptor
framework: ML Compute
role: symbol
role_heading: Instance Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcmultiheadattentionlayer/descriptor
---

# descriptor

The configuration object you use to create the multi-head attention layer.

## Declaration

```swift
@NSCopying var descriptor: MLCMultiheadAttentionDescriptor { get }
```

## See Also

### Inspecting Multi-Head Attention Layers

- [weights](mlcompute/mlcmultiheadattentionlayer/weights.md)
- [biases](mlcompute/mlcmultiheadattentionlayer/biases.md)
- [attentionBiases](mlcompute/mlcmultiheadattentionlayer/attentionbiases.md)
- [weightsParameters](mlcompute/mlcmultiheadattentionlayer/weightsparameters.md)
- [biasesParameters](mlcompute/mlcmultiheadattentionlayer/biasesparameters.md)
