MPSCNNDropoutGradientNode(3) MetalPerformanceShaders.framework MPSCNNDropoutGradientNode(3)
NAME
MPSCNNDropoutGradientNode
SYNOPSIS
#import <MPSNNGraphNodes.h>
Inherits MPSNNGradientFilterNode.
Instance Methods
(nonnull instancetype) - initWithSourceGradient:sourceImage:gradientState:keepProbability:seed:maskStrideInPixels:
Class Methods
(nonnull instancetype) + nodeWithSourceGradient:sourceImage:gradientState:keepProbability:seed:maskStrideInPixels:
Properties
float keepProbability
NSUInteger seed
MTLSize maskStrideInPixels
Method Documentation
- (nonnull instancetype) initWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull)
sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(float) keepProbability(NSUInteger) seed(MTLSize) maskStrideInPixels
create a new dropout gradient node See also -[MPSCNNNeuronNode gradientFilterNodeWithSources:] for an easier way to do this
+ (nonnull instancetype) nodeWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull)
sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(float) keepProbability(NSUInteger) seed(MTLSize) maskStrideInPixels
create a new dropout gradient node See also -[MPSCNNNeuronNode gradientFilterNodeWithSources:] for an easier way to do this
Property Documentation
- (float) keepProbability [read], [nonatomic], [assign]
- (MTLSize) maskStrideInPixels [read], [nonatomic], [assign]
- (NSUInteger) seed [read], [nonatomic], [assign]
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNDropoutGradientNode(3)