An object that stores the clamp mask used by gradient arithmetic operators.
SDKs
- iOS 11.3+
- macOS 10.13.4+
- Mac Catalyst 13.0+
- tvOS 11.3+
Framework
- Metal Performance Shaders
Declaration
class MPSCNNArithmeticGradientState : MPSNNBinary Gradient State
An object that stores the clamp mask used by gradient arithmetic operators.
SDKs
Framework
class MPSCNNArithmeticGradientState : MPSNNBinary Gradient State
class MPSCNNAdd
An addition operator.
class MPSCNNAdd Gradient
A gradient addition operator.
class MPSCNNSubtract
A subtraction operator.
class MPSCNNSubtract Gradient
A gradient subtraction operator.
class MPSCNNMultiply
A multiply operator.
class MPSCNNMultiply Gradient
A gradient multiply operator.
class MPSCNNDivide
A division operator.
class MPSCNNArithmetic
The base class for arithmetic operators.
class MPSCNNArithmetic Gradient
The base class for gradient arithmetic operators.