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

Method forward

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

Source from the content-addressed store, hash-verified

24 self.dim1 = dim1
25
26 def forward(self, x: torch.Tensor):
27 x = torch.transpose(x, self.dim0, self.dim1)
28 return x
29
30class CausalBlock1D(Block1D):
31 def __init__(self, dim: int, dim_out: int):

Callers 1

forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected