class_docstr: Class for representing a node in the ImageNet/WordNet hierarchy. 
class_docstr_tok: ["Class","for","representing","a","node","in","the","ImageNet\/WordNet","hierarchy","."]
docstr: Add child to given node.
  
  Args:
      child (Node) : Node object for child
docstr_tok: ["Add","child","to","given","node",".","Args",":","child","(","Node",")",":","Node","object","for","child"]
code: def add_child(self, child):
      """
      Add child to given node.
  
      Args:
          child (Node) : Node object for child
      """
      child.parent_wnid = self.wnid
  
file_path: robustness/robustness/tools/imagenet_helpers.py
imports: import os
  import numpy
  import json
  from itertools import product
label_desc: Use image node_id 2 for calling the Node obj's underlying member method code with example usage: obj.add_child(child) without return types