---
title: "l1Norm(axes:keepDimensions:)"
framework: accelerate
role: symbol
role_heading: Instance Method
path: "accelerate/bnnsgraph/builder/tensor/l1norm(axes:keepdimensions:)"
---

# l1Norm(axes:keepDimensions:)

Adds a sum-of-absolutes reduction operation along the given axis operation to the current graph.

## Declaration

```swift
func l1Norm(axes: [Int], keepDimensions: Bool) -> BNNSGraph.Builder.Tensor<T>
```

## Parameters

- `keepDimensions`: A Boolean value that specifies that the operation keeps the reduced dimension with a size of 1.
