class_docstr: Converts lists and related operations to their TF counterpart.
class_docstr_tok: ["Converts","lists","and","related","operations","to","their","TF","counterpart","."]
code: def _replace_append_call(self, node):
      assert len(node.args) == 1
      assert isinstance(node.func, gast.Attribute)
      template = """
        target = ag__.list_append(target, element)
      """
      return templates.replace(
          template, target=node.func.value, element=node.args[0]
      )
  
imports: import gast
  from nvidia.dali._autograph.core import converter
  from nvidia.dali._autograph.lang import directives
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import qual_names
  from nvidia.dali._autograph.pyct import templates
  from nvidia.dali._autograph.pyct.static_analysis import activity
  from nvidia.dali._autograph.pyct.static_analysis.annos import NodeAnno
label_desc: Use image node_id 2 for calling the ListTransformer obj's underlying member method code with example usage: obj._replace_append_call(node) and returns: templates