---
title: inputWeights
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsrnnsinglegatedescriptor/inputweights
---

# inputWeights

## Declaration

```swift
var inputWeights: (any MPSCNNConvolutionDataSource)? { get set }
```

## See Also

### Instance Properties

- [recurrentWeights](metalperformanceshaders/mpsrnnsinglegatedescriptor/recurrentweights.md)
- [MPSCNNConvolutionDataSource](metalperformanceshaders/mpscnnconvolutiondatasource.md)
