nicodjimenez / lstm

Minimal, clean example of lstm neural network training in python, for learning purposes.
1.72k stars 654 forks source link

Each cell gets x_input #20

Open Demaunt opened 7 years ago

Demaunt commented 7 years ago

Hello. I have a question about dimension of input.

In case

mem_cell_ct = 2
x_dim = 1

Biases are not considered

Input of first cell must be: [x_value, 0]
Input of seconds cell: [cell_1_output, 0]

But in your case: Input of first cell is: [x_value, 0, 0] Input of seconds cell: [x_value, cell_1_output, 0]

Is it correct that cells in hidden layers get actual input?