---
title: "thresholdedReLU(alpha:)"
framework: accelerate
role: symbol
role_heading: Instance Method
path: "accelerate/bnnsgraph/builder/tensor/thresholdedrelu(alpha:)"
---

# thresholdedReLU(alpha:)

Adds a Thresholded Leaky Rectified Linear Unit (ReLU) activation operation to the current graph.

## Declaration

```swift
func thresholdedReLU(alpha: Float) -> BNNSGraph.Builder.Tensor<T>
```

## Parameters

- `alpha`: The alpha value.
