MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / reset

Method reset

DeepSpeedExample/megatron/memory.py:74–76  ·  view source on GitHub ↗

Reset the buffer start index to the beginning of the buffer.

(self)

Source from the content-addressed store, hash-verified

72
73
74 def reset(self):
75 """Reset the buffer start index to the beginning of the buffer."""
76 self._start = 0
77
78
79 def is_in_use(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected