class_docstr: Transforms the call tree by renaming transformed symbols.
class_docstr_tok: ["Transforms","the","call","tree","by","renaming","transformed","symbols","."]
docstr: Ties together all positional and *arg arguments in a single tuple.
docstr_tok: ["Ties","together","all","positional","and","*","arg","arguments","in","a","single","tuple","."]
code: def _args_to_tuple(self, node):
      """Ties together all positional and *arg arguments in a single tuple."""
      # TODO(mdan): We could rewrite this to just a call to tuple(). Maybe better?
      # For example for
      #   f(a, b, *args)
      # instead of writing:
      #   (a, b) + args
      # just write this?
      #   tuple(a, b, *args)
      builder = _ArgTemplateBuilder()
      for a in node.args:
          if isinstance(a, gast.Starred):
              builder.add_stararg(a.value)
          else:
              builder.add_arg(a)
      builder.finalize()
      return builder.to_ast()
  
imports: import gast
  from tensorflow.python.autograph.core import converter
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.autograph.pyct import parser
  from tensorflow.python.autograph.pyct import qual_names
  from tensorflow.python.autograph.pyct import templates
  from tensorflow.python.autograph.utils import ag_logging
label_desc: Use image node_id 4 for calling the CallTreeTransformer obj's underlying member method code with example usage: obj._args_to_tuple(node) and returns: builder