---
title: reductionType
framework: ML Compute
role: symbol
role_heading: Instance Property
platforms: [iOS 14.5+, iPadOS 14.5+, Mac Catalyst 14.5+, macOS 11.3+, tvOS 14.5+]
path: mlcompute/mlcscatterlayer/reductiontype
---

# reductionType

The reduction type that applies to all values in the source tensor.

## Declaration

```swift
var reductionType: MLCReductionType { get }
```

## See Also

### Inspecting Scatter Layers

- [dimension](mlcompute/mlcscatterlayer/dimension.md)
