---
title: MPSGraphLossReductionType
framework: metalperformanceshadersgraph
role: symbol
role_heading: Enumeration
path: metalperformanceshadersgraph/mpsgraphlossreductiontype
---

# MPSGraphLossReductionType

The type of the reduction the graph applies in the loss operations.

## Declaration

```swift
enum MPSGraphLossReductionType
```

## Topics

### Enumeration Cases

- [MPSGraphLossReductionType.mean](metalperformanceshadersgraph/mpsgraphlossreductiontype/mean.md)
- [MPSGraphLossReductionType.none](metalperformanceshadersgraph/mpsgraphlossreductiontype/none.md)
- [MPSGraphLossReductionType.sum](metalperformanceshadersgraph/mpsgraphlossreductiontype/sum.md)

### Initializers

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

### Type Properties

- [axis](metalperformanceshadersgraph/mpsgraphlossreductiontype/axis.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)
