MCPcopy Index your code
hub / github.com/dmlc/dgl / reset

Method reset

python/dgl/graphbolt/base.py:431–433  ·  view source on GitHub ↗

Resets the state of the datapipe.

(self)

Source from the content-addressed store, hash-verified

429 self.buffer = deque(maxlen=buffer_size)
430
431 def reset(self):
432 """Resets the state of the datapipe."""
433 self.buffer.clear()
434
435
436@functional_datapipe("wait")

Callers 7

initializeFunction · 0.45
validate_reldn.pyFile · 0.45
validateFunction · 0.45
trainFunction · 0.45
train_reldn.pyFile · 0.45
__del__Method · 0.45
forwardMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected