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

Method reset_buffer

tokenizer.py:387–391  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

385 return x
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):
394 def _reset_parameters(m):

Callers 1

_reset_bufferMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected