Keras - “Convert” a trained many-to-many model to one-to-many model (generator)
问题 I'm trying to understand RNNs (not a specific one) with the Reber Grammar inputs (not embedded for now). You can find the jupyter notebook on this link (please disregard markdowns because I failed on the first version with output and it's not up-to-date :) ) . For every timestep, I provide the input and expected output for the training (so it's a many-to-many model). Input/output are "OneHotEncoded" (based on the string "BTSXPVE") so for example B is [1, 0, 0, 0, 0, 0, 0] V is [0, 0, 0, 0, 0,