MPSCNNNeuronLogarithmNode(3) MetalPerformanceShaders.framework MPSCNNNeuronLogarithmNode(3)
NAME
MPSCNNNeuronLogarithmNode
SYNOPSIS
#import <MPSNNGraphNodes.h>
Inherits MPSCNNNeuronNode.
Instance Methods
(nonnull instancetype) - initWithSource:a:b:c:
(nonnull instancetype) - initWithSource:
Class Methods
(nonnull instancetype) + nodeWithSource:a:b:c:
(nonnull instancetype) + nodeWithSource:
Additional Inherited Members
Detailed Description
A node representing a MPSCNNNeuronLogarithm kernel For each pixel, applies the following function:
f(x) = log_c(a * x + b)
Method Documentation
- (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 MPSCNNNeuronLogarithm kernel For each pixel, applies the following function:
f(x) = log_c(a * x + b)
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 MPSCNNNeuronLogarithm kernel.
+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode
Create an autoreleased node with default values for parameters a, b, and c
+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(float) a(float) b(float) c
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNNeuronLogarithmNode(3)