code: def _getattr(self, node):
      if node.kind() == "prim::Param":
          return (self.param, "")
      if node.kind() == "prim::GetAttr":
          name = node.s("name")
          obj, parent = self._getattr(node.input().node())
          return (
              getattr(obj, name),
              parent + "." + name if len(parent) > 0 else name,
          )
      raise NotImplementedError()
  
imports: import json
  import os
label_desc: Use image node_id 2 for calling the _Graph obj's underlying member method code with example usage: obj._getattr(node) and returns: self,  str, getattr,  unknown