r9y9 / wavenet_vocoder

WaveNet vocoder
https://r9y9.github.io/wavenet_vocoder/
Other
2.31k stars 499 forks source link

Fast wavenet #180

Closed narcise closed 4 years ago

narcise commented 4 years ago

would you help me to find which part of the code is about Fast inference by caching intermediate states in convolutions?

r9y9 commented 4 years ago

Please see https://github.com/r9y9/wavenet_vocoder/blob/a835a8eebfec5e049d93f629c4ee2f1daab56329/wavenet_vocoder/conv.py#L17-L46.

self.input_buffer is the intermediate state.