提交 8c19f0bf 编写于 作者: X Xin Pan

fix

test=develop
上级 4dd61e72
...@@ -625,8 +625,7 @@ class RuntimeInferShapeContext : public InferShapeContext { ...@@ -625,8 +625,7 @@ class RuntimeInferShapeContext : public InferShapeContext {
Variable* out_var = out_it->second[j]; Variable* out_var = out_it->second[j];
PADDLE_ENFORCE(in_var->Type() == out_var->Type(), PADDLE_ENFORCE(in_var->Type() == out_var->Type(),
"The type of %s and %s is not the same.", in_var->Type(), "The type of %s and %s is not the same.", in, out);
out_var->Type());
if (in_var->IsType<framework::SelectedRows>()) { if (in_var->IsType<framework::SelectedRows>()) {
auto& in_sele_rows = in_var->Get<framework::SelectedRows>(); auto& in_sele_rows = in_var->Get<framework::SelectedRows>();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册