code: def _decay_weights_sparse_op(self, var, indices):
      if self.decay_var_list is None or var in self.decay_var_list:
          update = -self.wd * tf.gather(var, indices)
          return self._resource_scatter_add(var, indices, update)
      return tf.no_op()
  
file_path: finetune/finetune/optimizers/weight_decay.py
imports: import tensorflow
  from tensorflow.python.ops import resource_variable_ops
label_desc: Use image node_id 3 for calling the AdamW obj's underlying member method code with example usage: obj._decay_weights_sparse_op(var, indices) and returns: tf, self