MCPcopy Create free account
hub / github.com/NVIDIA/DALI / _write_msg

Method _write_msg

dali/python/nvidia/dali/_multiproc/shared_queue.py:79–81  ·  view source on GitHub ↗
(self, i, msg)

Source from the content-addressed store, hash-verified

77 return msg
78
79 def _write_msg(self, i, msg):
80 offset = self.msgs_offsets[i]
81 msg.pack_into(self.shm.buf, offset)
82
83 def _recv_samples(self, num_samples):
84 num_take = self.meta.size

Callers 1

putMethod · 0.95

Calls 1

pack_intoMethod · 0.80

Tested by

no test coverage detected