<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNSDataLayoutSNE",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@EA@BNNSDataLayout@BNNSDataLayoutSNE"
  },
  "title" : "BNNSDataLayoutSNE"
}
-->

# BNNSDataLayoutSNE

A constant that represents a 3D tensor with the size elements embedding dimension, batch size, and sequence length.

```
var BNNSDataLayoutSNE: BNNSDataLayout { get }
```

## Discussion

The value `(e, n, s)` is at index `e * stride[0] + n * stride[1] + s * stride[2]`:

- `size[0]` is the embedding dimension (`e`).
- `size[1]` is the batch size (`n`).
- `size[2]` is the sequence length (`s`).

---

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)