---
title: MLCFullyConnectedLayer
framework: ML Compute
role: symbol
role_heading: Class
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcfullyconnectedlayer
---

# MLCFullyConnectedLayer

A layer that connects each input to each output within its layer.

## Declaration

```swift
class MLCFullyConnectedLayer
```

## Overview

Overview This is also known as a dense layer.

## Topics

### Creating Fully Connected Layers

- [init(weights:biases:descriptor:)](mlcompute/mlcfullyconnectedlayer/init(weights:biases:descriptor:).md)
- [MLCConvolutionDescriptor](mlcompute/mlcconvolutiondescriptor.md)

### Inspecting Fully Connected Layers

- [descriptor](mlcompute/mlcfullyconnectedlayer/descriptor.md)
- [weights](mlcompute/mlcfullyconnectedlayer/weights.md)
- [biases](mlcompute/mlcfullyconnectedlayer/biases.md)
- [biasesParameter](mlcompute/mlcfullyconnectedlayer/biasesparameter.md)
- [weightsParameter](mlcompute/mlcfullyconnectedlayer/weightsparameter.md)

## Relationships

### Inherits From

- [MLCLayer](mlcompute/mlclayer.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Math Layers

- [MLCArithmeticLayer](mlcompute/mlcarithmeticlayer.md)
- [MLCReductionLayer](mlcompute/mlcreductionlayer.md)
- [MLCMatMulLayer](mlcompute/mlcmatmullayer.md)
- [MLCGramMatrixLayer](mlcompute/mlcgrammatrixlayer.md)
- [MLCComparisonLayer](mlcompute/mlccomparisonlayer.md)
