Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
initialize
Function · 0.45
validate_reldn.py
File · 0.45
validate
Function · 0.45
train
Function · 0.45
train_reldn.py
File · 0.45
__del__
Method · 0.45
forward
Method · 0.45
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected