---
title: alpha
framework: ML Compute
role: symbol
role_heading: Instance Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcmatmuldescriptor/alpha
---

# alpha

A scalar value you specify to scale the result in C = alpha x A x B.

## Declaration

```swift
var alpha: Float { get }
```

## Discussion

Discussion The default value is 1.0.

## See Also

### Inspecting Matrix Multiplication Descriptors

- [transposesX](mlcompute/mlcmatmuldescriptor/transposesx.md)
- [transposesY](mlcompute/mlcmatmuldescriptor/transposesy.md)
