---
title: weightsImage()
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: metalperformanceshaders/mpscnnlosslabels/weightsimage()
---

# weightsImage()

## Declaration

```swift
func weightsImage() -> MPSImage
```
