Update Tensor and PODDeleter's template parameter
1. Change PODDeleter's template parameter 'PlaceType' to 'Place'. 2. Limit PODDeleter and Tensor::mutable_data()'s `T` to POD type.
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
1. Change PODDeleter's template parameter 'PlaceType' to 'Place'. 2. Limit PODDeleter and Tensor::mutable_data()'s `T` to POD type.