Options that defines what operations are used to perform binary convolution.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- Metal Performance Shaders
Declaration
enum MPSCNNBinaryConvolutionType : UInt
Options that defines what operations are used to perform binary convolution.
SDKs
Framework
enum MPSCNNBinaryConvolutionType : UInt
case AND
A convolution type that uses input image binarization and the AND-operation.
case XNOR
A convolution type that uses input image binarization and the XNOR-operation.
case binary Weights
A convolution type that operates as a normal convolution, except that the weights are binary values.