MPSCNNSpatialNormalizationGradientNode(3)

NAME
MPSCNNSpatialNormalizationGradientNode

SYNOPSIS

#import <MPSNNGraphNodes.h>

Inherits MPSNNGradientFilterNode.

  Instance Methods
(nonnull instancetype) - initWithSourceGradient:sourceImage:gradientState:kernelSize:

  Class Methods
(nonnull instancetype) + nodeWithSourceGradient:sourceImage:gradientState:kernelSize:

  Properties
NSUInteger kernelWidth
NSUInteger kernelHeight
float alpha
float beta
float delta

Method Documentation

  - (nonnull instancetype) initWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull) sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelSize

  + (nonnull instancetype) nodeWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull) sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelSize

Property Documentation

  - alpha [read], [write], [nonatomic], [assign]
The value of alpha. Default is 1.0. Must be non-negative.

  - beta [read], [write], [nonatomic], [assign]
The value of beta. Default is 5.0

  - delta [read], [write], [nonatomic], [assign]
The value of delta. Default is 1.0

  - (NSUInteger) kernelHeight [read], [write], [nonatomic], [assign]

  - (NSUInteger) kernelWidth [read], [write], [nonatomic], [assign]

Author

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