Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YeWR/EfficientZero
/ push
Method
push
core/storage.py:19–21 ·
view source on GitHub ↗
(self, batch)
Source
from the content-addressed store, hash-verified
17
self.queue = Queue(maxsize=size)
18
19
def
push(self, batch):
20
if
self.queue.qsize() <= self.threshold:
21
self.queue.put(batch)
22
23
def
pop(self):
24
if
self.queue.qsize() > 0:
Callers
3
make_batch
Method · 0.80
_prepare_target_gpu
Method · 0.80
update_tree_q
Function · 0.80
Calls
1
put
Method · 0.80
Tested by
no test coverage detected