Applies the gradient to the variable. Args: lr: A scalar or a callable that returns the learning rate. var_grad: A `.NestedMap` of (var, grad) pairs. weight: A scalar tensor that stores the weight of the loss and gradient. In most cases, weight is the number of trainin
(self, lr, var_grad, weight=None)
source not stored for this graph (policy: none)