class_docstr: CIDEr scorer.
class_docstr_tok: ["CIDEr","scorer","."]
docstr: add an instance (e.g., from another sentence).
docstr_tok: ["add","an","instance","(","e.g.",",","from","another","sentence",")","."]
code: def __iadd__(self, other):
      """add an instance (e.g., from another sentence)."""
  
      if type(other) is tuple:
          # avoid creating new CiderScorer instances
          self.cook_append(other[0], other[1])
      else:
          self.ctest.extend(other.ctest)
          self.crefs.extend(other.crefs)
  
      return self
  
file_path: graph4nlp/graph4nlp/pytorch/modules/evaluation/cider_tool/cider_scorer.py
imports: import copy
  import math
  import os
  import sys
  from collections import defaultdict
  import numpy
label_desc: Use image node_id 5 for calling the CiderScorer obj's underlying member method code with example usage: obj.__iadd__(other) and returns: self