<!--
{
  "availability" : [
    "iOS: 14.0.0 - 17.4.0",
    "iPadOS: 14.0.0 - 17.4.0",
    "macCatalyst: 14.0.0 - 17.4.0",
    "macOS: 11.0.0 - 14.3.0",
    "tvOS: 14.0.0 - 17.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "MLCompute",
  "identifier" : "/documentation/MLCompute/MLCReductionType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "ML Compute"
    ],
    "preciseIdentifier" : "c:@E@MLCReductionType"
  },
  "title" : "MLCReductionType"
}
-->

# MLCReductionType

Constants that describe a reduction operation type.

```
enum MLCReductionType
```

## Topics

### Enumeration Cases

[`MLCReductionType.all`](/documentation/MLCompute/MLCReductionType/all)

A reduction operation that applies to all dimensions.

[`MLCReductionType.any`](/documentation/MLCompute/MLCReductionType/any)

A reduction operation that applies to any dimension.

[`MLCReductionType.argMax`](/documentation/MLCompute/MLCReductionType/argMax)

A reduction operation that applies to the maximum dimension you specify.

[`MLCReductionType.argMin`](/documentation/MLCompute/MLCReductionType/argMin)

A reduction operation that applies to the minimum dimension you specify.

[`MLCReductionType.max`](/documentation/MLCompute/MLCReductionType/max)

A reduction operation that applies to the maximum dimension.

[`MLCReductionType.mean`](/documentation/MLCompute/MLCReductionType/mean)

A reduction operation that applies to the mean of the dimensions.

[`MLCReductionType.min`](/documentation/MLCompute/MLCReductionType/min)

A reduction operation that applies to the minimum dimension.

[`MLCReductionType.none`](/documentation/MLCompute/MLCReductionType/none)

A reduction operation that applies no reduction.

[`MLCReductionType.sum`](/documentation/MLCompute/MLCReductionType/sum)

A reduction operation that applies to the sum of the dimensions.

[`MLCReductionType.l1Norm`](/documentation/MLCompute/MLCReductionType/l1Norm)

A reduction operation that applies a lasso regularization penalty.

[`MLCReductionTypeCount`](/documentation/MLCompute/MLCReductionType/MLCReductionTypeCount)

The total number of reduction operations.

[`debugDescription`](/documentation/MLCompute/MLCReductionType/debugDescription)

A textual description of the reduction operation you use for debugging.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)