I am interested in doing some analyses of chess games using the neural network trained for Lc0. To that end I need to be able to turn PGN into the right kind of input vectors and to load and use the neural network trained for Leela chess.
My question is whether there is python code for this somewhere. Especially for the first step, using the neural network shouldn't be a problem.
Alternatively an explanation of how the input vectors are computed might enable me to write it myself.