---
title: MLCReductionType
framework: ML Compute
role: symbol
role_heading: Enumeration
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcreductiontype
---

# MLCReductionType

Constants that describe a reduction operation type.

## Declaration

```swift
enum MLCReductionType
```

## Topics

### Enumeration Cases

- [MLCReductionType.all](mlcompute/mlcreductiontype/all.md)
- [MLCReductionType.any](mlcompute/mlcreductiontype/any.md)
- [MLCReductionType.argMax](mlcompute/mlcreductiontype/argmax.md)
- [MLCReductionType.argMin](mlcompute/mlcreductiontype/argmin.md)
- [MLCReductionType.max](mlcompute/mlcreductiontype/max.md)
- [MLCReductionType.mean](mlcompute/mlcreductiontype/mean.md)
- [MLCReductionType.min](mlcompute/mlcreductiontype/min.md)
- [MLCReductionType.none](mlcompute/mlcreductiontype/none.md)
- [MLCReductionType.sum](mlcompute/mlcreductiontype/sum.md)
- [MLCReductionType.l1Norm](mlcompute/mlcreductiontype/l1norm.md)
- [debugDescription](mlcompute/mlcreductiontype/debugdescription.md)

### Initializers

- [init(rawValue:)](mlcompute/mlcreductiontype/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)

## See Also

### Creating Reduction Layers

- [init(reductionType:dimension:)](mlcompute/mlcreductionlayer/init(reductiontype:dimension:).md)
- [init(reductionType:dimensions:)](mlcompute/mlcreductionlayer/init(reductiontype:dimensions:).md)
