.TH "MPSCNNNeuronReLUNode" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSCNNNeuronReLUNode .SH SYNOPSIS .br .PP .PP \fC#import \fP .PP Inherits \fBMPSCNNNeuronNode\fP\&. .SS "Instance Methods" .in +1c .ti -1c .RI "(nonnull instancetype) \- \fBinitWithSource:\fP" .br .ti -1c .RI "(nonnull instancetype) \- \fBinitWithSource:a:\fP" .br .in -1c .SS "Class Methods" .in +1c .ti -1c .RI "(nonnull instancetype) + \fBnodeWithSource:a:\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 \fBMPSCNNNeuronReLU\fP kernel For each pixel, applies the following function: .PP .nf f(x) = x if x >= 0 = a * x if x < 0 .fi .PP .SH "Method Documentation" .PP .SS "\- (nonnull instancetype) initWithSource: (\fBMPSNNImageNode\fP *__nonnull) sourceNode" Init a node with default values for parameters a & b .SS "\- (nonnull instancetype) \fBinitWithSource:\fP (\fBMPSNNImageNode\fP *__nonnull) sourceNode(float) a" Init a node with default values for parameters a & 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" .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.