Error in makemore_part1_bigrams.ipynb
mksamelson opened this issue · 1 comments
mksamelson commented
jingairpi commented
P is just a normalization version of N for probability.
You can easily fix it by
P = N.float()
P = P / P.sum(1, keepdim=True)