MCPcopy Index your code
hub / github.com/apache/tvm / commit

Method commit

python/tvm/contrib/tvmjs.py:165–170  ·  view source on GitHub ↗

Commit a record

(self)

Source from the content-addressed store, hash-verified

163 self.updated_shards.add(idx)
164
165 def commit(self):
166 """Commit a record"""
167 if self.pending_nbytes != 0:
168 self._commit_internal(self.curr_data, self.curr_records)
169 self.curr_data = bytearray()
170 self.curr_records = []
171
172 def finish(self):
173 """Finish building and return shard records."""

Callers 2

append_or_updateMethod · 0.95
finishMethod · 0.95

Calls 1

_commit_internalMethod · 0.95

Tested by

no test coverage detected