MPSCNNArithmeticGradientState(3)

NAME
MPSCNNArithmeticGradientState

SYNOPSIS

#import <MPSCNNMath.h>

Inherits MPSNNBinaryGradientState.

  Instance Methods
(nonnull instancetype) - init

  Additional Inherited Members

Detailed Description

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.

Method Documentation

  - (nonnull instancetype) init

Reimplemented from MPSState.

Author

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