algorithm

algorithm : enum, (name of optimizer) for optimizer instance.
Default value “adam”.

 

Adadelta

Adadelta scales the learning rate based on the historical gradient while only taking into account the recent time window and not the entire history, like AdaGrad. Also uses a component that serves as an acceleration term, which accumulates historical updates (similar to momentum).

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). are accumulated gradients.
Documentation illustration (illustration unavailable in the archive). are accumulated updates.
Documentation illustration (illustration unavailable in the archive). are a decay constant.
Documentation illustration (illustration unavailable in the archive). are gradients.
Documentation illustration (illustration unavailable in the archive). are learning rate.
Documentation illustration (illustration unavailable in the archive). are numerical stability (e-7).
Documentation illustration (illustration unavailable in the archive). are rescaled gradients.
Documentation illustration (illustration unavailable in the archive). are weight.

 

Adagrad

Adagrad is an optimizer with parameter-specific learning rates, which are adapted relative to how frequently a parameter gets updated during training. The more updates a parameter receives, the smaller the updates.

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). are momentum.
Documentation illustration (illustration unavailable in the archive). are gradients of the parameters we want to update.
Documentation illustration (illustration unavailable in the archive). are learning rate.
Documentation illustration (illustration unavailable in the archive). are smoothing term (avoids division by zero).
Documentation illustration (illustration unavailable in the archive). are weight.

 

Adam

Adam optimization is a stochastic gradient descent method that is based on adaptive estimation of first-order and second-order moments.

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). and Documentation illustration (illustration unavailable in the archive). are estimates of the first moment (the mean) and the second moment (the uncentered variance) of the gradients respectively.
Documentation illustration (illustration unavailable in the archive). and Documentation illustration (illustration unavailable in the archive). are bias-corrected first and second moment estimates.
Documentation illustration (illustration unavailable in the archive). and Documentation illustration (illustration unavailable in the archive). are momentum coefficient.
Documentation illustration (illustration unavailable in the archive). are gradients of the parameters we want to update.
Documentation illustration (illustration unavailable in the archive). are learning rate.
Documentation illustration (illustration unavailable in the archive). are smoothing term (avoids division by zero).
Documentation illustration (illustration unavailable in the archive). are weight.

 

Adamax

AdaMax algorithm is an extension to the Adaptive Movement Estimation (Adam) Optimization algorithm. More broadly, is an extension to the Gradient Descent Optimization algorithm. Adam can be understood as updating weights inversely proportional to the scaled L2 norm (squared) of past gradients. AdaMax extends this to the so-called infinite norm (max) of past gradients.

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). and Documentation illustration (illustration unavailable in the archive). are momentum.
Documentation illustration (illustration unavailable in the archive). and Documentation illustration (illustration unavailable in the archive). are momentum coefficient.
Documentation illustration (illustration unavailable in the archive). are gradients of the parameters we want to update.
Documentation illustration (illustration unavailable in the archive). are learning rate.
Documentation illustration (illustration unavailable in the archive). are updated learning rate.
Documentation illustration (illustration unavailable in the archive). are smoothing term (avoids division by zero).
Documentation illustration (illustration unavailable in the archive). are weight.

 

Inertia

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). are momentum
Documentation illustration (illustration unavailable in the archive). are momentum coefficient.
Documentation illustration (illustration unavailable in the archive). are gradients of the parameters we want to update.
Documentation illustration (illustration unavailable in the archive). are learning rate.
Documentation illustration (illustration unavailable in the archive). are weight.

 

NAdam

Much like Adam is essentially RMSprop with momentum, Nadam is Adam with Nesterov momentum.

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). and Documentation illustration (illustration unavailable in the archive). are estimates of the first moment (the mean) and the second moment (the uncentered variance) of the gradients respectively.
Documentation illustration (illustration unavailable in the archive). and Documentation illustration (illustration unavailable in the archive). are bias-corrected first and second moment estimates.
Documentation illustration (illustration unavailable in the archive). and Documentation illustration (illustration unavailable in the archive). are momentum coefficient.
Documentation illustration (illustration unavailable in the archive). are gradients of the parameters we want to update.
Documentation illustration (illustration unavailable in the archive). are learning rate.
Documentation illustration (illustration unavailable in the archive). are smoothing term (avoids division by zero).
Documentation illustration (illustration unavailable in the archive). are weight.

 

Nesterov

Nesterov momentum is an extension of momentum that involves calculating the decaying moving average of the gradients of projected positions in the search space rather than the actual positions themselves.

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). are momentum
Documentation illustration (illustration unavailable in the archive). are momentum coefficient.
Documentation illustration (illustration unavailable in the archive). are gradients of the parameters we want to update.
Documentation illustration (illustration unavailable in the archive). are learning rate.
Documentation illustration (illustration unavailable in the archive). are weight.

 

RMSprop

The gist of RMSprop is to:

  1. Maintain a moving (discounted) average of the square of gradients
  2. Divide the gradient by the root of this average

This implementation of RMSprop uses plain momentum, not Nesterov momentum.
The centered version additionally maintains a moving average of the gradients, and uses that average to estimate the variance.

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). are momentum.
Documentation illustration (illustration unavailable in the archive). are momentum coefficient.
Documentation illustration (illustration unavailable in the archive). are gradients of the parameters we want to update.
Documentation illustration (illustration unavailable in the archive). are learning rate.
Documentation illustration (illustration unavailable in the archive). are smoothing term (avoids division by zero).
Documentation illustration (illustration unavailable in the archive). are weight.

 

SGD

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). are gradients of the parameters we want to update.
Documentation illustration (illustration unavailable in the archive). are learning rate.
Documentation illustration (illustration unavailable in the archive). are weight.

 

This parameter is used in add_to_graph an define VIs of the AdditiveAttention, Attention, BatchNormalization, Conv1D, Conv1DTranspose, Conv2D, Conv2DTranspose, Conv3D, Conv3DTranspose, Dense, DepthwiseConv2D, Embedding, GRU, LayerNormalization, LSTM, MultiHeadAttention, SeparableConv1D, SeparableConv2D, SimpleRNN, PReLU, ConvLSTM1DCell, ConvLSTM2DCell, ConvLSTM3DCell, GRUCell, LSTMCell, SimpleRNNCell layers.