MCPcopy Index your code
hub / github.com/MStypulkowski/diffused-heads / reset

Method reset

utils.py:35–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33 return torch.vstack(embs)
34
35 def reset(self):
36 self.hidden = torch.zeros(2, 1, 256).to(self.hidden.device)
37
38
39def get_audio_emb(audio_path, checkpoint, device):

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected