<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNSActivationFunction/BNNSActivationFunctionIntegerLinearSaturatePerChannel",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration Case",
  "symbol" : {
    "kind" : "Enumeration Case",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@EA@BNNSActivationFunction@BNNSActivationFunctionIntegerLinearSaturatePerChannel"
  },
  "title" : "BNNSActivationFunctionIntegerLinearSaturatePerChannel"
}
-->

# BNNSActivationFunctionIntegerLinearSaturatePerChannel

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

```
BNNSActivationFunctionIntegerLinearSaturatePerChannel
```

## Discussion

This constant defines an activation function that returns values using the following operation:

```c
saturate<output_type>((iscale_per_channel[channel] * x + ioffset_per_channel[channel]) >> ishift_per_channel[channel]) 
```

---

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)