MPSNNBinaryArithmeticNode(3) | MetalPerformanceShaders.framework | MPSNNBinaryArithmeticNode(3) |
MPSNNBinaryArithmeticNode
#import <MPSNNGraphNodes.h>
Inherits MPSNNFilterNode.
Inherited by MPSNNAdditionNode, MPSNNDivisionNode, MPSNNMultiplicationNode, and MPSNNSubtractionNode.
(nonnull instancetype) - initWithSources:
(nonnull instancetype) - initWithLeftSource:rightSource:
(nonnull Class) - gradientClass
(MPSNNGradientFilterNode *__nonnull) -
gradientFilterWithSources:
(NSArray< MPSNNGradientFilterNode * > *__nonnull) -
gradientFiltersWithSources:
(nonnull instancetype) + nodeWithSources:
(nonnull instancetype) + nodeWithLeftSource:rightSource:
float primaryScale
float secondaryScale
float bias
NSUInteger primaryStrideInPixelsX
NSUInteger primaryStrideInPixelsY
NSUInteger primaryStrideInFeatureChannels
NSUInteger secondaryStrideInPixelsX
NSUInteger secondaryStrideInPixelsY
NSUInteger secondaryStrideInFeatureChannels
float minimumValue
float maximumValue
virtual base class for basic arithmetic nodes
create new arithmetic gradient nodes Create two new arithmetic gradient nodes - one that computes the gradient for the primary source image and one that computes the gradient for the secondary sourcefrom the inference pass.
Reimplemented from MPSNNFilterNode.
Return the gradient (backwards) version of this filter. The backwards training version of the filter will be returned. The non-gradient image and state arguments for the filter are automatically obtained from the target.
Parameters:
Reimplemented from MPSNNFilterNode.
init an arithemtic node with two sources
Parameters:
init an arithemtic node with an array of sources
Parameters:
create an autoreleased arithemtic node with two sources
Parameters:
create an autoreleased arithemtic node with an array of sources
Parameters:
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |