MCPcopy Create free account
hub / github.com/MYZY-AI/Muyan-TTS / intersperse

Function intersperse

sovits/module/commons.py:22–25  ·  view source on GitHub ↗
(lst, item)

Source from the content-addressed store, hash-verified

20
21
22def intersperse(lst, item):
23 result = [item] * (len(lst) * 2 + 1)
24 result[1::2] = lst
25 return result
26
27
28def kl_divergence(m_p, logs_p, m_q, logs_q):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected