---
title: MPSCNNBinaryFullyConnected
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpscnnbinaryfullyconnected
---

# MPSCNNBinaryFullyConnected

A fully connected convolution layer with binary weights and optionally binarized input image.

## Declaration

```swift
class MPSCNNBinaryFullyConnected
```

## Topics

### Initializers

- [init(coder:device:)](metalperformanceshaders/mpscnnbinaryfullyconnected/init(coder:device:).md)
- [init(device:convolutionData:outputBiasTerms:outputScaleTerms:inputBiasTerms:inputScaleTerms:type:flags:)](metalperformanceshaders/mpscnnbinaryfullyconnected/init(device:convolutiondata:outputbiasterms:outputscaleterms:inputbiasterms:inputscaleterms:type:flags:).md)
- [init(device:convolutionData:scaleValue:type:flags:)](metalperformanceshaders/mpscnnbinaryfullyconnected/init(device:convolutiondata:scalevalue:type:flags:).md)
- [MPSCNNConvolutionDataSource](metalperformanceshaders/mpscnnconvolutiondatasource.md)
- [MPSCNNBinaryConvolutionType](metalperformanceshaders/mpscnnbinaryconvolutiontype.md)
- [MPSCNNBinaryConvolutionFlags](metalperformanceshaders/mpscnnbinaryconvolutionflags.md)

## Relationships

### Inherits From

- [MPSCNNBinaryConvolution](metalperformanceshaders/mpscnnbinaryconvolution.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Fully Connected Layers

- [MPSCNNFullyConnected](metalperformanceshaders/mpscnnfullyconnected.md)
- [MPSCNNFullyConnectedGradient](metalperformanceshaders/mpscnnfullyconnectedgradient.md)
