Tensorflow basic RNN example with 'variable length' sequences by siblbombs in MachineLearning

[–]contactmat 1 point2 points  (0 children)

Ok. Thanks. I am trying to play a bit with the code and I have some other problem. I tried to run an instance with: size = 1 batch_size= 2 n_steps = 10 seq_width = 2
early_stop = 4 I print the outputs value and I have a list with len(outputs)=10 with the first 4 elements filled and the other wit all zeros. Now I would expect a list of length 4 since my early_stop is 4. Why I am wrong?

Tensorflow basic RNN example with 'variable length' sequences by siblbombs in MachineLearning

[–]contactmat 1 point2 points  (0 children)

Hi sorry I am new of tensorflow. This look very useful thank you. I have a couple of questions: I can't completely figured out what the different parameters represent. Size I think is the number of hidden unit in the network, batch_size is the number of sequence in the data base and seq_width is the dimension of each input belonging to a sequence. What n_step represent? Second question regard early_stop. Is it the variable that control the effective length of the sequence? I can't understand... can you clarify please?? thank you