MPSCNNNeuronReLUNode(3) MetalPerformanceShaders.framework MPSCNNNeuronReLUNode(3)
NAME
MPSCNNNeuronReLUNode
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 MPSCNNNeuronReLU kernel For each pixel, applies the following function:
f(x) = x if x >= 0
= a * x if 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
Init a node with default values for parameters a & b
+ (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-100 Thu Feb 8 2018 MPSCNNNeuronReLUNode(3)