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

# momentumScale

A hyper-parameter that specifies the momentum factor.

## Declaration

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

## Discussion

Discussion The default value is 0.0.

## See Also

### Inspecting an RMSProp Optimizer

- [alpha](mlcompute/mlcrmspropoptimizer/alpha.md)
- [epsilon](mlcompute/mlcrmspropoptimizer/epsilon.md)
- [isCentered](mlcompute/mlcrmspropoptimizer/iscentered.md)
