.TH "MPSCNNNeuronReLUNNode" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSCNNNeuronReLUNNode .SH SYNOPSIS .br .PP .PP \fC#import \fP .PP Inherits \fBMPSCNNNeuronNode\fP\&. .SS "Instance Methods" .in +1c .ti -1c .RI "(nonnull instancetype) \- \fBinitWithSource:a:b:\fP" .br .ti -1c .RI "(nonnull instancetype) \- \fBinitWithSource:\fP" .br .in -1c .SS "Class Methods" .in +1c .ti -1c .RI "(nonnull instancetype) + \fBnodeWithSource:a:b:\fP" .br .ti -1c .RI "(nonnull instancetype) + \fBnodeWithSource:\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP \fBA\fP node representing a \fBMPSCNNNeuronReLUN\fP kernel For each pixel, applies the following function: .PP .nf f(x) = min((x >= 0 ? x : a * x), b) .fi .PP .SH "Method Documentation" .PP .SS "\- (nonnull instancetype) initWithSource: (\fBMPSNNImageNode\fP *__nonnull) sourceNode" Create an autoreleased node with default values for parameters a & b .SS "\- (nonnull instancetype) \fBinitWithSource:\fP (\fBMPSNNImageNode\fP *__nonnull) sourceNode(float) a(float) b" .SS "+ (nonnull instancetype) nodeWithSource: (\fBMPSNNImageNode\fP *__nonnull) sourceNode" Create an autoreleased node with default values for parameters a & b .SS "+ (nonnull instancetype) \fBnodeWithSource:\fP (\fBMPSNNImageNode\fP *__nonnull) sourceNode(float) a(float) b" .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.