The base class for binary reduction filters.
SDKs
- iOS 11.3+
- macOS 10.13.4+
- Mac Catalyst 13.0+
- tvOS 11.3+
Framework
- Metal Performance Shaders
Declaration
class MPSNNReduceBinary : MPSCNNBinary Kernel
The base class for binary reduction filters.
SDKs
Framework
class MPSNNReduceBinary : MPSCNNBinary Kernel
class MPSNNReduce Row Max
A reduction filter that returns the maximum value for each row in an image.
class MPSNNReduce Row Min
A reduction filter that returns the minimum value for each row in an image.
class MPSNNReduce Row Sum
A reduction filter that returns the sum of all values for each row in an image.
class MPSNNReduce Row Mean
A reduction filter that returns the mean value for each row in an image.
class MPSNNReduce Column Max
A reduction filter that returns the maximum value for each column in an image.
class MPSNNReduce Column Min
A reduction filter that returns the minimum value for each column in an image.
class MPSNNReduce Column Sum
A reduction filter that returns the sum of all values for each column in an image.
class MPSNNReduce Column Mean
A reduction filter that returns the mean value for each column in an image.
class MPSNNReduce Feature Channels Max
A reduction filter that returns the maximum value for each feature channel in an image.
class MPSNNReduce Feature Channels Min
A reduction filter that returns the minimum value for each feature channel in an image.
class MPSNNReduce Feature Channels Sum
A reduction filter that returns the sum of all values for each feature channel in an image.
class MPSNNReduce Feature Channels Mean
A reduction filter that returns the mean value for each feature channel in an image.
class MPSNNReduce Feature Channels Argument Max
A reduction filter that returns the index of the location of the maximum value for each feature channel in an image.
class MPSNNReduce Feature Channels Argument Min
A reduction filter that returns the index of the location of the minimum value for each feature channel in an image.
class MPSNNReduce Feature Channels And Weights Sum
A reduction filter that returns the weighted sum of all values for each feature channel in an image.
class MPSNNReduce Feature Channels And Weights Mean
A reduction filter that returns the weighted sum for each feature channel in an image.
class MPSNNReduce Unary
The base class for unary reduction filters.