Synthesis with PQMF. Args: x (Tensor): Input tensor (B, subbands, T // subbands). Returns: Tensor: Output tensor (B, 1, T).
(self, x)
| 116 | return F.conv1d(x, self.updown_filter, stride=self.subbands) |
| 117 | |
| 118 | def synthesis(self, x): |
| 119 | """Synthesis with PQMF. |
| 120 | |
| 121 | Args: |
| 122 | x (Tensor): Input tensor (B, subbands, T // subbands). |
| 123 | |
| 124 | Returns: |
| 125 | Tensor: Output tensor (B, 1, T). |
| 126 | |
| 127 | """ |
| 128 | x = F.conv_transpose1d(x, self.updown_filter * self.subbands, stride=self.subbands) |
| 129 | return F.conv1d(self.pad_fn(x), self.synthesis_filter) |
nothing calls this directly
no outgoing calls
no test coverage detected