mpscnnbatchnormalizationgradientnode(3) [mojave man page]
MPSCNNBatchNormalizationGradientNode(3) MetalPerformanceShaders.framework MPSCNNBatchNormalizationGradientNode(3)NAME
MPSCNNBatchNormalizationGradientNode
SYNOPSIS
#import <MPSNNGraphNodes.h>
Inherits MPSNNGradientFilterNode, and <MPSNNTrainableNode>.
Instance Methods
(nonnull instancetype) - initWithSourceGradient:sourceImage:gradientState:
Class Methods
(nonnull instancetype) + nodeWithSourceGradient:sourceImage:gradientState:
Additional Inherited Members
Detailed Description
A node representing batch normalization gradient for training This filter encapsulates the MPSCNNBatchNormalizationStatisticsGradient and
MPSCNNBatchNormalizationGradient low level filters as a single node. They will be called in sequence: statistics gradient until the batch
is complete, then batch normalization gradient on the result.
Method Documentation
- (nonnull instancetype) initWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull)
sourceImage(MPSNNGradientStateNode *__nonnull) gradientState
+ (nonnull instancetype) nodeWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull)
sourceImage(MPSNNGradientStateNode *__nonnull) gradientState
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNBatchNormalizationGradientNode(3)
Check Out this Related Man Page
MPSCNNSpatialNormalizationGradientNode(3) MetalPerformanceShaders.framework 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.
Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNSpatialNormalizationGradientNode(3)