MCPcopy Create free account
hub / github.com/Standard-Intelligence/hertz-dev / _reset_buffer

Method _reset_buffer

tokenizer.py:388–390  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

386
387 def reset_buffer(self):
388 def _reset_buffer(m):
389 if isinstance(m, CausalConv1d) or isinstance(m, CausalConvTranspose1d):
390 m.reset_buffer()
391 self.apply(_reset_buffer)
392
393 def reset_parameters(self):

Callers

nothing calls this directly

Calls 1

reset_bufferMethod · 0.45

Tested by

no test coverage detected