---
title: "init(descriptor:)"
framework: ML Compute
role: symbol
role_heading: Initializer
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: "mlcompute/mlcmatmullayer/init(descriptor:)"
---

# init(descriptor:)

Creates a matrix multiplication layer with the specified descriptor you specify.

## Declaration

```swift
convenience init?(descriptor: MLCMatMulDescriptor)
```

## Parameters

- `descriptor`: An object you use to configure the matrix multiplication layer.

## See Also

### Creating Matrix Multiplication Layers

- [MLCMatMulDescriptor](mlcompute/mlcmatmuldescriptor.md)
