Optimization of RNN models

I am Chinese student and starts to researching approximate calculation. Recently, I try to apply approximate calculation to RNN models, such as quantization and pruning. But there are not detailed implementation process,such as operation on each layer and weights matrix on forward process. I had browsed source code of c++ in Github and not found detailed process.
What should I do? Could you help me?