<!--
{
  "availability" : [
    "iOS: 14.0.0 - 18.0.0",
    "iPadOS: 14.0.0 - 18.0.0",
    "macCatalyst: 14.0.0 - 18.0.0",
    "macOS: 11.0.0 - 15.0.0",
    "tvOS: 14.0.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0",
    "watchOS: 7.0.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNSLSTMDataDescriptor/init(data_desc:hidden_desc:cell_state_desc:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:So22BNNSLSTMDataDescriptora9data_desc07hidden_D0011cell_state_D0ABSo011BNNSNDArrayB0a_A2Gtcfc"
  },
  "title" : "init(data_desc:hidden_desc:cell_state_desc:)"
}
-->

# init(data_desc:hidden_desc:cell_state_desc:)

Returns a new long short-term memory (LSTM) data descriptor structure from the specified parameters.

```
init(data_desc: BNNSNDArrayDescriptor, hidden_desc: BNNSNDArrayDescriptor, cell_state_desc: BNNSNDArrayDescriptor)
```

## Parameters

`data_desc`

The descriptor of the input-output.

`hidden_desc`

The descriptor of the hidden input-output.

`cell_state_desc`

The descriptor of the cell-state input-output.

---

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)