---
title: computeUnits
framework: coreml
role: symbol
role_heading: Instance Property
path: coreml/mlmodelconfiguration/computeunits
---

# computeUnits

The processing unit or units the model uses to make predictions.

## Declaration

```swift
var computeUnits: MLComputeUnits { get set }
```

## See Also

### Allowing access to processing units

- [MLComputeUnits](coreml/mlcomputeunits.md)
