code: def camelcase_to_snakecase(name):
      s1 = _first_cap_re.sub(r"\1_\2", name)
      return _all_cap_re.sub(r"\1_\2", s1).lower()
  
file_path: tensor2tensor/tensor2tensor/utils/misc_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import pprint
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: camelcase_to_snakecase(name) and returns: _all_cap_re