MPSNNConcatenationGradientNode(3) MetalPerformanceShaders.framework MPSNNConcatenationGradientNode(3)

MPSNNConcatenationGradientNode

#import <MPSNNGraphNodes.h>

Inherits MPSNNGradientFilterNode.


(nonnull instancetype) - initWithSourceGradient:sourceImage:gradientState:


(nonnull instancetype) + nodeWithSourceGradient:sourceImage:gradientState:

A MPSNNSlice filter that operates as the conjugate computation for concatentation operators during training As concatenation is formally just a copy and not a computation, there isn't a lot of arithmetic for the slice operator to do, but we still need to extract out the relevant portion of the gradient of the input signal that went into the corresponding concatenation destination image.

- (nonnull instancetype) initWithSourceGradient: (MPSNNImageNode *__nonnull) gradientSourceNode(MPSNNImageNode *__nonnull) sourceImage(MPSNNGradientStateNode *__nonnull) gradientState

Init a MPSNNConcatenationGradientNode Generally you should use [MPSNNConcatenationNode gradientFiltersWithSources:] instead.

Parameters:

gradientSourceNode The gradient image functioning as input for the operator
sourceImage The particular input image to the concatentation, if any, that the slice corresponds with
gradientState The gradient state produced by the concatenation filter, consumed by this filter

create a MPSNNConcatenationGradientNode Generally you should use [MPSNNConcatenationNode gradientFiltersWithSources:] instead.

Parameters:

gradientSourceNode The gradient image functioning as input for the operator
sourceImage The particular input image to the concatentation, if any, that the slice corresponds with
gradientState The gradient state produced by the concatenation filter, consumed by this filter

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

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3