docstr: Load anns with the specified ids.
  
  :param ids (int array)       : integer ids specifying anns
  :return: anns (object array) : loaded ann objects
docstr_tok: ["Load","anns","with","the","specified","ids",".",":","param","ids","(","int","array",")",":","integer","ids","specifying","anns",":","return",":","anns","(","object","array",")",":","loaded","ann","objects"]
code: def loadAnns(self, ids=[]):
      """Load anns with the specified ids.
  
      :param ids (int array)       : integer ids specifying anns
      :return: anns (object array) : loaded ann objects
      """
      if _isArrayLike(ids):
          return [self.anns[id] for id in ids]
      elif type(ids) == int:
          return [self.anns[ids]]
  
imports: import copy
  import itertools
  import json
  import sys
  import time
  from collections import defaultdict
  import numpy
  from pycocotools import mask
label_desc: Use image node_id 6 for calling the YTVIS obj's underlying member method code with example usage: obj.loadAnns(ids) and returns: unknown, list