class_docstr: Adam with SGD updates every n steps with accumulated gradients.
class_docstr_tok: ["Adam","with","SGD","updates","every","n","steps","with","accumulated","gradients","."]
code: def _apply_sparse_shared(self, grad, var, indices, scatter_add):
      return self._apply_cond(
          super(MultistepAdamOptimizer, self)._apply_sparse_shared,
          grad,
          var,
          indices,
          scatter_add,
      )
  
file_path: tensor2tensor/tensor2tensor/utils/multistep_optimizer.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow.compat.v1
label_desc: Use image node_id 8 for calling the MultistepAdamOptimizer obj's underlying member method code with example usage: obj._apply_sparse_shared(grad, var, indices, scatter_add) and returns: self