Created by: Officium
It may be helpful for debug if the expected type was added to the error message when checking the type of data such as /paddle/paddle/fluid/framework/tensor_impl.h:29.
/paddle/paddle/fluid/framework/tensor_impl.h:29