.TH "MPSCNNUpsamplingNearestGradientNode" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSCNNUpsamplingNearestGradientNode .SH SYNOPSIS .br .PP .PP \fC#import \fP .PP Inherits \fBMPSNNGradientFilterNode\fP\&. .SS "Instance Methods" .in +1c .ti -1c .RI "(nonnull instancetype) \- \fBinitWithSourceGradient:sourceImage:gradientState:scaleFactorX:scaleFactorY:\fP" .br .in -1c .SS "Class Methods" .in +1c .ti -1c .RI "(nonnull instancetype) + \fBnodeWithSourceGradient:sourceImage:gradientState:scaleFactorX:scaleFactorY:\fP" .br .in -1c .SS "Properties" .in +1c .ti -1c .RI "double \fBscaleFactorX\fP" .br .ti -1c .RI "double \fBscaleFactorY\fP" .br .in -1c .SH "Detailed Description" .PP Node representing a \fBMPSCNNUpsamplingNearest\fP kernel .SH "Method Documentation" .PP .SS "\- (nonnull instancetype) initWithSourceGradient: (\fBMPSNNImageNode\fP *__nonnull) sourceGradient(\fBMPSNNImageNode\fP *__nonnull) sourceImage(\fBMPSNNGradientStateNode\fP *__nonnull) gradientState(double) scaleFactorX(double) scaleFactorY" \fBA\fP node to represent the gradient calculation for nearest upsampling training\&. [forwardFilter gradientFilterWithSources:] is a more convient way to do this\&. .PP \fBParameters:\fP .RS 4 \fIsourceGradient\fP The input gradient from the 'downstream' gradient filter\&. .br \fIsourceImage\fP The input image from the forward filter node .br \fIgradientState\fP The gradient state from the forward filter .br \fIscaleFactorX\fP The X scale factor from the forward pass .br \fIscaleFactorY\fP The Y scale factor from the forward pass .RE .PP \fBReturns:\fP .RS 4 \fBA\fP \fBMPSCNNUpsamplingNearestGradientNode\fP .RE .PP .SS "+ (nonnull instancetype) nodeWithSourceGradient: (\fBMPSNNImageNode\fP *__nonnull) sourceGradient(\fBMPSNNImageNode\fP *__nonnull) sourceImage(\fBMPSNNGradientStateNode\fP *__nonnull) gradientState(double) scaleFactorX(double) scaleFactorY" \fBA\fP node to represent the gradient calculation for nearest upsampling training\&. [forwardFilter gradientFilterWithSources:] is a more convient way to do this\&. .PP \fBParameters:\fP .RS 4 \fIsourceGradient\fP The input gradient from the 'downstream' gradient filter\&. .br \fIsourceImage\fP The input image from the forward filter node .br \fIgradientState\fP The gradient state from the forward filter .br \fIscaleFactorX\fP The X scale factor from the forward pass .br \fIscaleFactorY\fP The Y scale factor from the forward pass .RE .PP \fBReturns:\fP .RS 4 \fBA\fP \fBMPSCNNUpsamplingNearestGradientNode\fP .RE .PP .SH "Property Documentation" .PP .SS "\- (double) scaleFactorX\fC [read]\fP, \fC [nonatomic]\fP, \fC [assign]\fP" .SS "\- (double) scaleFactorY\fC [read]\fP, \fC [nonatomic]\fP, \fC [assign]\fP" .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.