MCPcopy
hub / github.com/microsoft/Cream / write

Method write

TinyViT/data/augmentation/manager.py:15–17  ·  view source on GitHub ↗
(self, key: str, value: bytes)

Source from the content-addressed store, hash-verified

13 self.worker.start()
14
15 def write(self, key: str, value: bytes) -> bool:
16 self.msg_queue.put((key, value))
17 return True
18
19 class _WORKER_MSG:
20 KILL = 4

Callers 15

mainFunction · 0.45
mainFunction · 0.45
updateMethod · 0.45
summarizeMethod · 0.45
save_logits_one_epochFunction · 0.45
save_logits.pyFile · 0.45
main.pyFile · 0.45
writeMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

putMethod · 0.80

Tested by 3

runMethod · 0.36
mainFunction · 0.36
mainFunction · 0.36