---
title: isBidirectional
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/mlclstmdescriptor/isbidirectional
---

# isBidirectional

A Boolean that indicates whether the layer is bidirectional.

## Declaration

```swift
var isBidirectional: Bool { get }
```

## See Also

### Inspecting LSTM Descriptors

- [batchFirst](mlcompute/mlclstmdescriptor/batchfirst.md)
- [dropout](mlcompute/mlclstmdescriptor/dropout.md)
- [hiddenSize](mlcompute/mlclstmdescriptor/hiddensize.md)
- [inputSize](mlcompute/mlclstmdescriptor/inputsize.md)
- [layerCount](mlcompute/mlclstmdescriptor/layercount.md)
- [resultMode](mlcompute/mlclstmdescriptor/resultmode.md)
- [returnsSequences](mlcompute/mlclstmdescriptor/returnssequences.md)
- [usesBiases](mlcompute/mlclstmdescriptor/usesbiases.md)
