fix scope lock bug on infer (#19624)

sigmoid_bug
tensor-tang 6 years ago committed by GitHub
parent 6364ebc4dd
commit e3e98ed678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save