Tensor not initialized yet when Tensor::type() is called
Created by: liushanshan07
0828 lastest paddle版本,python load inference model时 recurrent op的commit https://github.com/PaddlePaddle/Paddle/pull/17710 导致的Tensor not initialized yet when Tensor::type() is called