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

Method forward

inspiremusic/flow/decoder.py:75–78  ·  view source on GitHub ↗
(self, x: torch.Tensor)

Source from the content-addressed store, hash-verified

73 self.causal_padding = (kernel_size - 1, 0)
74
75 def forward(self, x: torch.Tensor):
76 x = F.pad(x, self.causal_padding)
77 x = super(CausalConv1d, self).forward(x)
78 return x
79
80class ConditionalDecoder(nn.Module):
81 def __init__(

Callers

nothing calls this directly

Calls 1

forwardMethod · 0.45

Tested by

no test coverage detected