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

# exp2()

Adds an element-wise exp operation to the current graph.

## Declaration

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