When resizing dimensions larger, make default 1
When resizing dimensions larger, make default 1


Former-commit-id: 358af86fd8fa4eeb91214b3126881ae4aebf8327
danielhers/dynet,clab/cnn,shuheik/dynet,clab/cnn,chunyang-wen/dynet,clab/dynet,shuheik/dynet,chunyang-wen/dynet,danielhers/dynet,xunzhang/dynet,clab/dynet,clab/dynet,shuheik/dynet,clab/dynet,clab/cnn,chunyang-wen/dynet,chunyang-wen/dynet,danielhers/dynet,danielhers/dynet,shuheik/dynet,xunzhang/dynet,danielhers/dynet,danielhers/dynet,shuheik/dynet,clab/dynet,shuheik/dynet,xunzhang/dynet,danielhers/dynet,shuheik/dynet,xunzhang/dynet,clab/dynet,clab/dynet