---
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/mlcconvolutionlayer/weights
---

# weights

The weights tensor you use for the convolution layer.

## Declaration

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

## See Also

### Inspecting Convolution Layers

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