MCPcopy Create free account
hub / github.com/FunAudioLLM/FunMusic / __init__

Method __init__

inspiremusic/flow/decoder.py:47–50  ·  view source on GitHub ↗
(self, dim: int, dim_out: int, time_emb_dim: int, groups: int = 8)

Source from the content-addressed store, hash-verified

45
46class CausalResnetBlock1D(ResnetBlock1D):
47 def __init__(self, dim: int, dim_out: int, time_emb_dim: int, groups: int = 8):
48 super(CausalResnetBlock1D, self).__init__(dim, dim_out, time_emb_dim, groups)
49 self.block1 = CausalBlock1D(dim, dim_out)
50 self.block2 = CausalBlock1D(dim_out, dim_out)
51
52class CausalConv1d(torch.nn.Conv1d):
53 def __init__(

Callers

nothing calls this directly

Calls 2

CausalBlock1DClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected