---
title: MPSGraphOptimizationProfile
framework: metalperformanceshadersgraph
role: symbol
role_heading: Enumeration
path: metalperformanceshadersgraph/mpsgraphoptimizationprofile
---

# MPSGraphOptimizationProfile

The optimization profile used as a heuristic as the graph compiler optimizes the network.

## Declaration

```swift
enum MPSGraphOptimizationProfile
```

## Topics

### Enumeration Cases

- [MPSGraphOptimizationProfile.performance](metalperformanceshadersgraph/mpsgraphoptimizationprofile/performance.md)
- [MPSGraphOptimizationProfile.powerEfficiency](metalperformanceshadersgraph/mpsgraphoptimizationprofile/powerefficiency.md)

### Initializers

- [init(rawValue:)](metalperformanceshadersgraph/mpsgraphoptimizationprofile/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
