---
title: weights
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/mlcfullyconnectedlayer/weights
---

# weights

The weights tensor you use for the fully connected layer.

## Declaration

```swift
var weights: MLCTensor { get }
```

## See Also

### Inspecting Fully Connected Layers

- [descriptor](mlcompute/mlcfullyconnectedlayer/descriptor.md)
- [biases](mlcompute/mlcfullyconnectedlayer/biases.md)
- [biasesParameter](mlcompute/mlcfullyconnectedlayer/biasesparameter.md)
- [weightsParameter](mlcompute/mlcfullyconnectedlayer/weightsparameter.md)
