MPSCNNNeuronPowerNode(3) MetalPerformanceShaders.framework MPSCNNNeuronPowerNode(3)

MPSCNNNeuronPowerNode

#import <MPSNNGraphNodes.h>

Inherits MPSCNNNeuronNode.


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


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

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

f(x) = (a * x + b) ^ c

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

Init a node with default values for parameters a, b, and c

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

Init a node representing a MPSCNNNeuronPower kernel For each pixel, applies the following function:

f(x) = (a * x + b) ^ c

Parameters:

sourceNode The MPSNNImageNode representing the source MPSImage for the filter
a See discussion above.
b See discussion above.
c See discussion above.

Returns:

A new MPSNNFilter node for a MPSCNNNeuronPower kernel.

Create an autoreleased node with default values for parameters a, b, and c

Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3