Here is the documentation on destroy_map: http://deeplearning.net/software/theano/extending/inplace.html#inplace-operations