MCPcopy Create free account
hub / github.com/FireRedTeam/FireRedTTS2 / forward

Method forward

fireredtts2/codec/decoder.py:72–74  ·  view source on GitHub ↗
(self, x: torch.Tensor)

Source from the content-addressed store, hash-verified

70 self.dim1 = dim1
71
72 def forward(self, x: torch.Tensor):
73 x = torch.transpose(x, self.dim0, self.dim1)
74 return x
75
76
77# A causal variant of Conv1d

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected