Virtual base class for basic arithmetic nodes.
SDKs
- iOS 11.0+
- macOS 10.13+
- UIKit for Mac 13.0+Beta
- tvOS 11.0+
Framework
- Metal Performance Shaders
Declaration
class MPSNNBinaryArithmeticNode : MPSNNFilter Node
Virtual base class for basic arithmetic nodes.
SDKs
Framework
class MPSNNBinaryArithmeticNode : MPSNNFilter Node
class MPSNNAddition Node
A representation of an addition operator.
class MPSNNAddition Gradient Node
A representation of a gradient addition operator.
class MPSNNSubtraction Node
A representation of an subtraction operator.
class MPSNNSubtraction Gradient Node
A representation of a gradient subtraction operator.
class MPSNNMultiplication Node
A representation of a multiplication operator.
class MPSNNMultiplication Gradient Node
A representation of a gradient multiplication operator.
class MPSNNDivision Node
A representation of a division operator.
class MPSNNArithmetic Gradient Node
A representation of the base class for gradient arithmetic operators.
class MPSNNArithmetic Gradient State Node
A representation of the clamp mask used by gradient arithmetic operators.
Beta Software
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software