class_docstr: Performs the conversion to A-normal form (ANF).
class_docstr_tok: ["Performs","the","conversion","to","A-normal","form","(","ANF",")","."]
code: def _ensure_fields_in_anf(self, node, parent=None, super_field=None):
      for field in node._fields:
          if field.startswith("__"):
              continue
          parent_supplied = node if parent is None else parent
          field_supplied = field if super_field is None else super_field
          setattr(
              node,
              field,
              self._ensure_node_in_anf(
                  parent_supplied, field_supplied, getattr(node, field)
              ),
          )
      return node
  
imports: import collections
  import gast
  import six
  from nvidia.dali._autograph.pyct import gast_util
  from nvidia.dali._autograph.pyct import templates
  from nvidia.dali._autograph.pyct import transformer
label_desc: Use image node_id 8 for calling the AnfTransformer obj's underlying member method code with example usage: obj._ensure_fields_in_anf(node, parent, super_field) and returns: node