Add assertion in nn.View constructor
Add assertion in nn.View constructor

Even though torch.view accepts a wildcard argument (-1) for one of the sizes,
nn.View cannot handle minibatches when using this option.

joeyhng/nn,jzbontar/nn,forty-2/nn,sbodenstein/nn,kmul00/nn,sagarwaghmare69/nn,eulerreich/nn,mlosch/nn,witgo/nn,andreaskoepf/nn,zchengquan/nn,karpathy/nn,PierrotLC/nn,nicholas-leonard/nn,rickyHong/nn_lib_torch,noa/nn,colesbury/nn,bartvm/nn,hughperkins/nn,lukasc-ch/nn,soumith/nn,adamlerer/nn,jonathantompson/nn,zhangxiangxiao/nn,Djabbz/nn,EnjoyHacking/nn,GregSatre/nn,szagoruyko/nn,Jeffyrao/nn,clementfarabet/nn,boknilev/nn,lvdmaaten/nn,Moodstocks/nn,mys007/nn,diz-vara/nn,ominux/nn,PraveerSINGH/nn,elbamos/nn,xianjiec/nn,vgire/nn,davidBelanger/nn,hery/nn,aaiijmrtt/nn,abeschneider/nn,caldweln/nn,eriche2016/nn,ivendrov/nn,jhjin/nn,douwekiela/nn,fmassa/nn,LinusU/nn,apaszke/nn,Aysegul/nn,rotmanmi/nn