MCPcopy Create free account
hub / github.com/YeWR/EfficientZero / pop

Method pop

core/storage.py:23–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21 self.queue.put(batch)
22
23 def pop(self):
24 if self.queue.qsize() > 0:
25 return self.queue.get()
26 else:
27 return None
28
29 def get_len(self):
30 return self.queue.qsize()

Callers 3

_trainFunction · 0.80
_prepare_target_gpuMethod · 0.80
update_tree_qFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected