My problem is that I do not see a linear relationship between these weights and biases and the inputs and outputs of an lstm unit. So, I am confused which elements should be zero or one. Is it at all possible to do so? In case it is possible, I would be grateful if you can help me with this. Otherwise, what do you think is the best way to approach this problem?