---
title: geluTanhApproximation()
framework: accelerate
role: symbol
role_heading: Instance Method
path: accelerate/bnnsgraph/builder/tensor/gelutanhapproximation()
---

# geluTanhApproximation()

Adds a Gaussian Error Linear Unit (GELU) tanh approximation activation operation to the current graph.

## Declaration

```swift
func geluTanhApproximation() -> BNNSGraph.Builder.Tensor<T>
```
