<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.2.0 - 27.0.0",
    "macOS: 11.0.0 - 27.0.0",
    "tvOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MLCompute",
  "identifier" : "/documentation/MLCompute/MLCRMSPropOptimizer/init(descriptor:momentumScale:alpha:epsilon:isCentered:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ML Compute"
    ],
    "preciseIdentifier" : "c:objc(cs)MLCRMSPropOptimizer(cm)optimizerWithDescriptor:momentumScale:alpha:epsilon:isCentered:"
  },
  "title" : "init(descriptor:momentumScale:alpha:epsilon:isCentered:)"
}
-->

# init(descriptor:momentumScale:alpha:epsilon:isCentered:)

Creates an RMSProp optimizer with the descriptor, momentum scale, smoothing, epsilon, and option to compute the centered RMSProp that you specify.

```
convenience init(descriptor optimizerDescriptor: MLCOptimizerDescriptor, momentumScale: Float, alpha: Float, epsilon: Float, isCentered: Bool)
```

## Parameters

`optimizerDescriptor`

An object you use to configure the optimizer.

`momentumScale`

The momentum scale.

`alpha`

The smoothing constant value.

`epsilon`

The epsilon value you use to improve numerical stability.

`isCentered`

A Boolean that indicates whether you compute the centered RMSProp.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)