MPSCNNNeuronELUNode(3)
NAME
MPSCNNNeuronELUNode
SYNOPSIS
#import <MPSNNGraphNodes.h>
Inherits MPSCNNNeuronNode.
Instance Methods
(nonnull instancetype) - initWithSource:
(nonnull instancetype) - initWithSource:a:
Class Methods
(nonnull instancetype) + nodeWithSource:a:
(nonnull instancetype) + nodeWithSource:
Additional Inherited Members
Detailed Description
A node representing a MPSCNNNeuronELU kernel For each pixel, applies
the following function:
f(x) = a * exp(x) - 1, x < 0
x , x >= 0
Method Documentation
- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull)
sourceNode
Init a node with default values for parameters a & b
- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull)
sourceNode(float) a
+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull)
sourceNode
Create an autoreleased node with default values for parameters a & b
+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull)
sourceNode(float) a
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSCNNNeuronELUNode(3)
Mac OS X 10.12.6 - Generated Sun Oct 29 18:34:36 CDT 2017