support deepSwap
Created by: tianbingsz
support swap of the content of Matrix, e.g. swap two parameters like: para->getBuf(PARAMETER_SNAPSHOT_VALUE)->deepSwap(*para->getBuf(PARAMETER_VALUE)). https://github.com/PaddlePaddle/Paddle/pull/565
Created by: tianbingsz
support swap of the content of Matrix, e.g. swap two parameters like: para->getBuf(PARAMETER_SNAPSHOT_VALUE)->deepSwap(*para->getBuf(PARAMETER_VALUE)). https://github.com/PaddlePaddle/Paddle/pull/565