提交 73edf137 编写于 作者: Y Yancey1989

update

上级 220db4f3
...@@ -25,7 +25,7 @@ class CreateDoubleBufferReaderOp : public framework::OperatorBase { ...@@ -25,7 +25,7 @@ class CreateDoubleBufferReaderOp : public framework::OperatorBase {
private: private:
void RunImpl(const framework::Scope& scope, void RunImpl(const framework::Scope& scope,
const platform::Place& dev_place) const override { const platform::Place& dev_place) const override {
auto* out = scope.Var(Output("Out")) auto* out = scope.FindVar(Output("Out"))
->template GetMutable<framework::ReaderHolder>(); ->template GetMutable<framework::ReaderHolder>();
if (out->Get() != nullptr) { if (out->Get() != nullptr) {
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册