MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / get

Method get

tensorpack/utils/concurrency.py:308–315  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

306 return self.ranks[0] == self.wait_for
307
308 def get(self):
309 assert self.has_next()
310 ret = self.data[0]
311 rank = self.ranks[0]
312 del self.ranks[0]
313 del self.data[0]
314 self.wait_for += 1
315 return rank, ret
316
317
318class OrderedResultGatherProc(mp.Process):

Callers 15

get_costFunction · 0.45
get_dataset_pathFunction · 0.45
building_rtfdFunction · 0.45
get_data_formatFunction · 0.45
wrapperFunction · 0.45
change_envFunction · 0.45
_pick_tqdm_intervalFunction · 0.45
get_tqdm_kwargsFunction · 0.45
_use_ldFunction · 0.45
get_num_gpuFunction · 0.45
queue_get_stoppableMethod · 0.45
runMethod · 0.45

Calls 1

has_nextMethod · 0.95

Tested by

no test coverage detected