---
title: BNNSGraph.Builder.PoolingFunction.max
framework: accelerate
role: symbol
role_heading: Case
path: accelerate/bnnsgraph/builder/poolingfunction/max
---

# BNNSGraph.Builder.PoolingFunction.max

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

## Declaration

```swift
case max
```
