Contents

BNNSActivationFunctionIntegerLinearSaturatePerChannel

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

Declaration

BNNSActivationFunctionIntegerLinearSaturatePerChannel

Discussion

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

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

See Also

Raw Values