Open Tortoise17 opened 5 years ago
Because we are using multi-layer RNN, we have to specify the number of hidden units for each layer. Therefore, there is such assertion.
Dear Leimao.
Thank you so much for kind reply. Yes, I understood this. But, the hidden units are by default 256 and layers 3, and if layers are increased, the error comes. Is it possible to increase layers here? I mean how it is fixed with that ? If you can guide a bit.
Greetings .
Did you mean if you use, say, num_rnn_layer = 4
, num_hidden_units = [256, 256, 256, 256]
, the program will be broken?
Yes something like this.
Dear Friend.
I want to ask a question from you. !! in model, why is this necessary?
assert len(num_hidden_units) == num_rnn_layer
and why can't we change the number of layers with this exception?
Please guide..
Greetings.