class_docstr: A basic Adam optimizer that includes "correct" L2 weight decay.
docstr: Get the variable name from the tensor name.
code: def _get_variable_name(self, param_name):
      """Get the variable name from the tensor name."""
      m = re.match("^(.*):\\d+$", param_name)
      if m is not None:
          param_name = m.group(1)
      return param_name
  
file_path: hellaswag/adversarial_filtering/bert/optimization.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import re
  import tensorflow
label_desc: Use image node_id 4 for calling the AdamWeightDecayOptimizer obj's underlying member method code with example usage: obj._get_variable_name(param_name) and returns: param_name