---
title: inputWeights
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/mlclstmlayer/inputweights
---

# inputWeights

The array of tensors that describe the input weights you use for the input, hidden, cell, and output gates.

## Declaration

```swift
var inputWeights: [MLCTensor] { get }
```

## See Also

### Inspecting LSTM Layers

- [descriptor](mlcompute/mlclstmlayer/descriptor.md)
- [gateActivations](mlcompute/mlclstmlayer/gateactivations.md)
- [outputResultActivation](mlcompute/mlclstmlayer/outputresultactivation.md)
- [hiddenWeights](mlcompute/mlclstmlayer/hiddenweights.md)
- [peepholeWeights](mlcompute/mlclstmlayer/peepholeweights.md)
- [biases](mlcompute/mlclstmlayer/biases.md)
- [inputWeightsParameters](mlcompute/mlclstmlayer/inputweightsparameters.md)
- [hiddenWeightsParameters](mlcompute/mlclstmlayer/hiddenweightsparameters.md)
- [peepholeWeightsParameters](mlcompute/mlclstmlayer/peepholeweightsparameters.md)
- [biasesParameters](mlcompute/mlclstmlayer/biasesparameters.md)
