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

# abs()

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

## Declaration

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