---
title: "integerLinearSaturate(scale:offset:shift:)"
framework: accelerate
role: symbol
role_heading: Type Method
path: "accelerate/bnnsactivation/integerlinearsaturate(scale:offset:shift:)"
---

# integerLinearSaturate(scale:offset:shift:)

Returns an activation function that computes an arithmetic shift, preserving sign.

## Declaration

```swift
static func integerLinearSaturate(scale: Int32 = 1, offset: Int32 = 0, shift: Int32 = 0) -> BNNSActivation
```

## Parameters

- `scale`: The scale for the activation function.
- `offset`: The offset for the activation function.
- `shift`: The arithmetic shift for the activation function.

## See Also

### Related Documentation

- [BNNSActivationFunctionIntegerLinearSaturate](accelerate/bnnsactivationfunction/bnnsactivationfunctionintegerlinearsaturate.md)

### Type Methods

- [integerLinearSaturatePerChannel(scale:offset:shift:)](accelerate/bnnsactivation/integerlinearsaturateperchannel(scale:offset:shift:).md)
