---
title: MPSGraphPoolingReturnIndicesMode
framework: metalperformanceshadersgraph
role: symbol
role_heading: Enumeration
path: metalperformanceshadersgraph/mpsgraphpoolingreturnindicesmode
---

# MPSGraphPoolingReturnIndicesMode

The flattening mode for returned indices with max-pooling.

## Declaration

```swift
enum MPSGraphPoolingReturnIndicesMode
```

## Topics

### Enumeration Cases

- [MPSGraphPoolingReturnIndicesMode.globalFlatten1D](metalperformanceshadersgraph/mpsgraphpoolingreturnindicesmode/globalflatten1d.md)
- [MPSGraphPoolingReturnIndicesMode.globalFlatten2D](metalperformanceshadersgraph/mpsgraphpoolingreturnindicesmode/globalflatten2d.md)
- [MPSGraphPoolingReturnIndicesMode.globalFlatten3D](metalperformanceshadersgraph/mpsgraphpoolingreturnindicesmode/globalflatten3d.md)
- [MPSGraphPoolingReturnIndicesMode.globalFlatten4D](metalperformanceshadersgraph/mpsgraphpoolingreturnindicesmode/globalflatten4d.md)
- [MPSGraphPoolingReturnIndicesMode.localFlatten1D](metalperformanceshadersgraph/mpsgraphpoolingreturnindicesmode/localflatten1d.md)
- [MPSGraphPoolingReturnIndicesMode.localFlatten2D](metalperformanceshadersgraph/mpsgraphpoolingreturnindicesmode/localflatten2d.md)
- [MPSGraphPoolingReturnIndicesMode.localFlatten3D](metalperformanceshadersgraph/mpsgraphpoolingreturnindicesmode/localflatten3d.md)
- [MPSGraphPoolingReturnIndicesMode.localFlatten4D](metalperformanceshadersgraph/mpsgraphpoolingreturnindicesmode/localflatten4d.md)
- [MPSGraphPoolingReturnIndicesMode.none](metalperformanceshadersgraph/mpsgraphpoolingreturnindicesmode/none.md)

### Initializers

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