---
title: BNNSOptimizerFunctionSGDMomentumWithClipping
framework: accelerate
role: symbol
role_heading: Global Variable
path: accelerate/bnnsoptimizerfunctionsgdmomentumwithclipping
---

# BNNSOptimizerFunctionSGDMomentumWithClipping

An optimizer function that updates parameters according to the stochastic gradient descent (SGD) with momentum algorithm and optionally clips the gradient by value or by norm.

## Declaration

```swift
var BNNSOptimizerFunctionSGDMomentumWithClipping: BNNSOptimizerFunction { get }
```

## See Also

### SGD  Optimizer Functions

- [BNNSOptimizerFunctionSGDMomentum](accelerate/bnnsoptimizerfunctionsgdmomentum.md)
