vlraik / word-level-rnn-keras

Word Level RNN for text generation using keras
58 stars 18 forks source link

sample function #1

Open don-tpanic opened 6 years ago

don-tpanic commented 6 years ago

Hi, Could you kindly explain how sample function works? Thanks!

vlraik commented 6 years ago

Hello there, the sample function is basically a function which generates a number from a binomial distribution, the temperature variable sets how "different" the solution will be.