Speedup and reduce memory usage in Normalize
Speedup and reduce memory usage in Normalize

It's almost 40x faster on CPU, and doesn't use extra memory. Should
be faster on GPU as well

apaszke/nn,jhjin/nn,diz-vara/nn,eulerreich/nn,caldweln/nn,mlosch/nn,sagarwaghmare69/nn,lukasc-ch/nn,colesbury/nn,kmul00/nn,clementfarabet/nn,nicholas-leonard/nn,PraveerSINGH/nn,andreaskoepf/nn,witgo/nn,xianjiec/nn,elbamos/nn,Moodstocks/nn,eriche2016/nn,joeyhng/nn,jonathantompson/nn,vgire/nn,rotmanmi/nn