MPSCNNDropoutGradientState(3) | MetalPerformanceShaders.framework | MPSCNNDropoutGradientState(3) |
MPSCNNDropoutGradientState
#import <MPSCNNDropout.h>
Inherits MPSNNGradientState.
(nonnull instancetype) - init
(nonnull NSData *) - maskData
This depends on Metal.framework. The MPSCNNDropoutGradientState is used to hold the mask used by both MPSCNNDropout forward filter and MPSCNNDropoutGradient backward filter. The MPSCNNDropout forward filter populates the MPSCNNDropoutGradientState object and the MPSCNNDropoutGradient backward filter consumes the state object.
While the mask is stored internally, the mask data is accessible by the user for debugging purposes via an accessor method.
Reimplemented from MPSState.
Mask data accessor method.
Returns:
In order to gaurantee that the mask data is correctly synchronized for CPU side access, it is the application's responsibility to call the [gradientState synchronizeOnCommandBuffer:] method before accessing the mask data.
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |