class_docstr: A basic Adam optimizer that includes "correct" L2 weight decay.
class_docstr_tok: ["A","basic","Adam","optimizer","that","includes","``","correct","''","L2","weight","decay","."]
docstr: Get the variable name from the tensor name.
docstr_tok: ["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: BigDL/python/orca/example/learn/tf/bert/optimization.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import re
  import absl
  import tensorflow.compat.v1
  import lamb_optimizer_v1
  import deferred_grad_optimizer
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