MPSCNNArithmeticGradientState(3) MetalPerformanceShaders.framework MPSCNNArithmeticGradientState(3)

MPSCNNArithmeticGradientState

#import <MPSCNNMath.h>

Inherits MPSNNBinaryGradientState.


(nonnull instancetype) - init

This depends on Metal.framework. The MPSCNNArithmeticGradientState is used to hold the clamp mask used by both MPSCNNArithmetic forward filter and MPSCNNArithmeticGradient backward filter. The MPSCNNArithmetic forward filter populates the MPSCNNArithmeticGradientState object and the MPSCNNArithmeticGradient backward filter consumes the state object.

The clamp mask is stored internally and is not accessible by the user.

- (nonnull instancetype) init

Reimplemented from MPSState.

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

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3