parameters: (self, ids=[])
docstring: Load anns with the specified ids.
          :param ids (int array)       : integer ids specifying anns
          :return: anns (object array) : loaded ann objects
docstring_summary: Load anns with the specified ids.
          :param ids (int array)       : integer ids specifying anns
          :return: anns (object array) : loaded ann objects
docstring_tokens: Load anns with the specified ids . : param ids ( int array ) : integer ids specifying anns : return : anns ( object array ) : loaded ann objects
function: 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 type(ids) == list:
              return [self.anns[id] for id in ids]
          elif type(ids) == int:
              return [self.anns[ids]]
function_tokens: def loadAnns ( self , ids = [ ] ) : if type ( ids ) == list : return [ self . anns [ id ] for id in ids ] elif type ( ids ) == int : return [ self . anns [ ids ] ]