Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpsnngradientstatenode(3) [mojave man page]

MPSNNGradientStateNode(3)				 MetalPerformanceShaders.framework				 MPSNNGradientStateNode(3)

NAME
MPSNNGradientStateNode SYNOPSIS
#import <MPSNNGraphNodes.h> Inherits MPSNNStateNode. Inherited by MPSCNNConvolutionGradientStateNode. Additional Inherited Members Detailed Description During training, each MPSNNFilterNode has a corresponding MPSNNGradientFilterNode for the gradient computation for trainable parameter update. The two communicate through a MPSNNGradientStateNode or subclass which carries information about the inference pass settings to the gradient pass. You can avoid managing these -- there will be many! -- by using -[MPSNNFilterNode gradientFilterWithSources:] to make the MPSNNGradientFilterNodes. That method will append the necessary extra information like MPSNNGradientState nodes and inference filter source image nodes to the object as needed. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSNNGradientStateNode(3)

Check Out this Related Man Page

MPSCNNPoolingGradientNode(3)				 MetalPerformanceShaders.framework			      MPSCNNPoolingGradientNode(3)

NAME
MPSCNNPoolingGradientNode SYNOPSIS
#import <MPSNNGraphNodes.h> Inherits MPSNNGradientFilterNode. Inherited by MPSCNNDilatedPoolingMaxGradientNode, MPSCNNPoolingAverageGradientNode, MPSCNNPoolingL2NormGradientNode, and MPSCNNPoolingMaxGradientNode. Instance Methods (nonnull instancetype) - initWithSourceGradient:sourceImage:gradientState:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:paddingPolicy: Class Methods (nonnull instancetype) + nodeWithSourceGradient:sourceImage:gradientState:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:paddingPolicy: Properties NSUInteger kernelWidth NSUInteger kernelHeight NSUInteger strideInPixelsX NSUInteger strideInPixelsY Method Documentation - (nonnull instancetype) initWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull) sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelWidth(NSUInteger) kernelHeight(NSUInteger) strideInPixelsX(NSUInteger) strideInPixelsY(nullable id< MPSNNPadding >) paddingPolicy make a pooling gradient node It would be much easier to use [inferencePoolingNode gradientNodeForSourceGradient:] instead. Parameters: sourceGradient The gradient from the downstream gradient filter. sourceImage The input image to the inference pooling filter gradientState The gradient state produced by the inference poolin filter kernelWidth The kernel width of the inference filter kernelHeight The kernel height of the inference filter strideInPixelsX The X stride from the inference filter strideInPixelsY The Y stride from the inference filter + (nonnull instancetype) nodeWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull) sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelWidth(NSUInteger) kernelHeight(NSUInteger) strideInPixelsX(NSUInteger) strideInPixelsY(nullable id< MPSNNPadding >) paddingPolicy make a pooling gradient node It would be much easier to use [inferencePoolingNode gradientNodeForSourceGradient:] instead. Parameters: sourceGradient The gradient from the downstream gradient filter. sourceImage The input image to the inference pooling filter gradientState The gradient state produced by the inference poolin filter kernelWidth The kernel width of the inference filter kernelHeight The kernel height of the inference filter strideInPixelsX The X stride from the inference filter strideInPixelsY The Y stride from the inference filter Property Documentation - (NSUInteger) kernelHeight [read], [nonatomic], [assign] - (NSUInteger) kernelWidth [read], [nonatomic], [assign] - (NSUInteger) strideInPixelsX [read], [nonatomic], [assign] - (NSUInteger) strideInPixelsY [read], [nonatomic], [assign] Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNPoolingGradientNode(3)
Man Page