未验证 提交 e3e98ed6 编写于 作者: T tensor-tang 提交者: GitHub

fix scope lock bug on infer (#19624)

上级 6364ebc4
......@@ -141,9 +141,12 @@ class Scope {
DISABLE_COPY_AND_ASSIGN(Scope);
#ifndef PADDLE_ON_INFERENCE
private:
mutable RWLock kids_lock_;
mutable RWLock vars_lock_;
#endif
};
// Generate some debug string about the inherience structure of scope, quite
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册