We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82dd165 commit 35453dfCopy full SHA for 35453df
paddle/framework/op_desc.cc
@@ -65,7 +65,7 @@ class CompileTimeInferShapeContext : public InferShapeContext {
65
PADDLE_ENFORCE_EQ(in_var->GetType(), VarDesc::LOD_TENSOR,
66
"The %d-th output of Output(%s) must be LoDTensor.", j,
67
out);
68
- in_var->SetLoDLevel(out_var->GetLodLevel());
+ out_var->SetLoDLevel(in_var->GetLodLevel());
69
}
70
bool IsRuntime() const override;
71
0 commit comments