A ReLUN neuron filter.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- Metal Performance Shaders
Declaration
class MPSCNNNeuronReLUN : MPSCNNNeuron
Overview
For each pixel in an image, the filter applies the following function:

The default value of a
is 1.0 and the default value of b
is 6.0.