Optimizing custom RNN implementation - PyTorch Forums
discuss.pytorch.org › t › optimizing-custom-rnnMar 11, 2019 · Hi, I’m currently testing a variant of the LSTM architecture called subLSTM. I was trying to get an efficient implementation to speed up my tests since my PyTorch implemenation its still very slow compared to the library LSTM. I also tried using TorchScript but its still much slower than the LSTM version. Specifically I used jit.script to compile the inner loop of the RNN (similar to the ...
Pytorch implementation of the popular Improv RNN model ...
https://pythonawesome.com/pytorch-implementation-of-the-popular-improv...06.01.2022 · Overview. This code is a pytorch implementation of the popular Improv RNN model originally implemented by the Magenta team. The model is able to generate melodies conditioned on a given chord progression. a one-hot encoding of the chord root pitch class, e.g. [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0] for a D major (or minor, etc.) chord.