MPSCNNNeuronELUNode(3) MetalPerformanceShaders.framework MPSCNNNeuronELUNode(3)

MPSCNNNeuronELUNode

#import <MPSNNGraphNodes.h>

Inherits MPSCNNNeuronNode.


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


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

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

f(x) = a * exp(x) - 1, x <  0

x , 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

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