I use batchnorm2d to run net,and batch_size=10.
But When  I test the net performance , I set batch_size=1，the result very bad.I know the reason is batchnorm2d, and What should I do about batchnorm2d when I train and test net?