MPSCNNNeuronReLUNode(3) MetalPerformanceShaders.framework MPSCNNNeuronReLUNode(3)

MPSCNNNeuronReLUNode

#import <MPSNNGraphNodes.h>

Inherits MPSCNNNeuronNode.


(nonnull instancetype) - initWithSource:
(nonnull instancetype) - initWithSource:a:


(nonnull instancetype) + nodeWithSource:a:
(nonnull instancetype) + nodeWithSource:

A node representing a MPSCNNNeuronReLU kernel For each pixel, applies the following function:

f(x) = x            if x >= 0

= a * x if x < 0

- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode

Init a node with default values for parameters a & b

- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(float) a

Init a node with default values for parameters a & b

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