Class MPSCNNBinaryConvolutionType
- java.lang.Object
-
- apple.metalperformanceshaders.enums.MPSCNNBinaryConvolutionType
-
public final class MPSCNNBinaryConvolutionType extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longANDUse input image binarization and the AND-operation to perform the actual convolution - See MPSCNNBinaryConvolution for detailsstatic longBinaryWeightsOtherwise a normal convolution operation, except that the weights are binary valuesstatic longXNORUse input image binarization and the XNOR-operation to perform the actual convolution - See MPSCNNBinaryConvolution for details
-
-
-
Field Detail
-
BinaryWeights
public static final long BinaryWeights
Otherwise a normal convolution operation, except that the weights are binary values- See Also:
- Constant Field Values
-
XNOR
public static final long XNOR
Use input image binarization and the XNOR-operation to perform the actual convolution - See MPSCNNBinaryConvolution for details- See Also:
- Constant Field Values
-
AND
public static final long AND
Use input image binarization and the AND-operation to perform the actual convolution - See MPSCNNBinaryConvolution for details- See Also:
- Constant Field Values
-
-