How to set LSTM units value in LSTM?

Hafiz Muhammad Zohaib asked 1 month ago

Very good article on LSTM implementation using Tensorflow. Thanks for it!
One question i am confused about?
In our imdb reviews dataset, we have 300 dimension for each sample of review after padding. Each corresponding number agaist a word then will be converted to embedding with 15 dimension. So in total we will have 300 embeddings of 15 dimension each. By keeping this in mind, i think we need to set units=300 to process one sample/review. But we set it to 10 in LSTM layer.
Can you clear me about it? 

Your Answer

18 + 13 =