Created by: tensor-tang
fix #3752 (closed) and simplify code of mkldnn logic.
- move
forward
andbackward
toMKLDNNLayer
- remove some redundant functions like
copyOutputInfoToOthterDevice
Created by: tensor-tang
fix #3752 (closed) and simplify code of mkldnn logic.
forward
and backward
to MKLDNNLayer
copyOutputInfoToOthterDevice