<!--
{
  "availability" : [
    "*: -",
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNSActivation/integerLinearSaturate(scale:offset:shift:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:So14BNNSActivationa10AccelerateE21integerLinearSaturate5scale6offset5shiftABs5Int32V_A2ItFZ"
  },
  "title" : "integerLinearSaturate(scale:offset:shift:)"
}
-->

# integerLinearSaturate(scale:offset:shift:)

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

```
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

[`BNNSActivationFunctionIntegerLinearSaturate`](/documentation/Accelerate/BNNSActivationFunction/BNNSActivationFunctionIntegerLinearSaturate)

An activation function that returns an arithmetic shift, preserving sign.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)