fix max pooling shape
re impl ignore border
fixed a few bugs in the complex linear view