(self, decoder_inp, tgt_nonpadding, ret, infer, **kwargs)
| 231 | return pitch_embed |
| 232 | |
| 233 | def run_decoder(self, decoder_inp, tgt_nonpadding, ret, infer, **kwargs): |
| 234 | x = decoder_inp # [B, T, H] |
| 235 | x = self.decoder(x) |
| 236 | x = self.mel_out(x) |
| 237 | return x * tgt_nonpadding |
| 238 | |
| 239 | def cwt2f0_norm(self, cwt_spec, mean, std, mel2ph): |
| 240 | f0 = cwt2f0(cwt_spec, mean, std, hparams['cwt_scales']) |