MPSCNNNeuronHardSigmoidNode(3) | MetalPerformanceShaders.framework | MPSCNNNeuronHardSigmoidNode(3) |
MPSCNNNeuronHardSigmoidNode
#import <MPSNNGraphNodes.h>
Inherits MPSCNNNeuronNode.
(nonnull instancetype) - initWithSource:a:b:
(nonnull instancetype) - initWithSource:
(nonnull instancetype) + nodeWithSource:a:b:
(nonnull instancetype) + nodeWithSource:
A node representing a MPSCNNNeuronHardSigmoid kernel For each pixel, applies the following function:
f(x) = clamp((a * x) + b, 0, 1)
Init a node with default values for parameters a & b
Init a node representing a MPSCNNNeuronHardSigmoid kernel
Parameters:
Returns:
Create an autoreleased node with default values for parameters a & b
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |