Home
last modified time | relevance | path

Searched refs:PARALLEL_SHARDS (Results 1 – 1 of 1) sorted by relevance

/dports/textproc/py-gensim/gensim-4.0.1/gensim/similarities/
H A Ddocsim.py84 PARALLEL_SHARDS = False variable
493 if PARALLEL_SHARDS and PARALLEL_SHARDS > 1:
494 logger.debug("spawning %i query processes", PARALLEL_SHARDS)
495 pool = multiprocessing.Pool(PARALLEL_SHARDS)
496 result = pool.imap(query_shard, args, chunksize=1 + len(self.shards) / PARALLEL_SHARDS)