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

# tan()

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

## Declaration

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