tf.keras.optimizers.SGD

Gradient descent (with momentum) optimizer.

Inherits From: Optimizer

Used in the notebooks

Used in the guide Used in the tutorials

Update rule for parameter w with gradient g when momentum is 0: