MPSCNNNeuronHardSigmoid(3) | MetalPerformanceShaders.framework | MPSCNNNeuronHardSigmoid(3) |
MPSCNNNeuronHardSigmoid
#import <MPSCNNNeuron.h>
Inherits MPSCNNNeuron.
(nonnull instancetype) - initWithDevice:a:b:
(nonnull instancetype) - initWithDevice:
This depends on Metal.framework Specifies the hard sigmoid neuron filter. For each pixel, applies the following function: f(x) = clamp((a * x) + b, 0, 1)
Standard init with default properties per filter type
Parameters:
Returns:
Reimplemented from MPSCNNNeuron.
Initialize a neuron filter
Parameters:
Returns:
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |