---
title: max
framework: accelerate
role: symbol
role_heading: Type Property
path: accelerate/bnnspoolingfunction/max
---

# max

A function for pooling that computes the maximum of each element in the pooling kernel.

## Declaration

```swift
static var max: BNNSPoolingFunction { get }
```

## See Also

### Pooling Functions

- [average](accelerate/bnnspoolingfunction/average.md)
