class_docstr: Optimizer that implements the LAMBOptimizer as tf.train.Optimizer.
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
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import re
  import tensorflow.compat.v1
  from tensorflow.python.eager import context
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import state_ops
  from tensorflow.python.training import optimizer
label_desc: Use image node_id 15 for calling the LAMBOptimizer obj's underlying member method code with example usage: obj._get_variable_name(param_name) and returns: param_name