class_docstr: Class for representing ImageNet/WordNet hierarchy. 
class_docstr_tok: ["Class","for","representing","ImageNet\/WordNet","hierarchy","."]
docstr: Add node to tree.
  
  Args:
      wnid (str) : WordNet ID for synset represented by node
  
  Returns:
      A node object representing the specified wnid.
docstr_tok: ["Add","node","to","tree",".","Args",":","wnid","(","str",")",":","WordNet","ID","for","synset","represented","by","node","Returns",":","A","node","object","representing","the","specified","wnid","."]
code: def get_node(self, wnid):
      """
      Add node to tree.
  
      Args:
          wnid (str) : WordNet ID for synset represented by node
  
      Returns:
          A node object representing the specified wnid.
      """
      if wnid not in self.tree:
          self.tree[wnid] = Node(wnid, name=self.wnid_to_name[wnid])
      return self.tree[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 3 for calling the ImageNetHierarchy obj's underlying member method code with example usage: obj.get_node(wnid) and returns: self