提交 9b63fef3 编写于 作者: S sneaxiy

delete some redundant comments

上级 697ba4b1
...@@ -29,9 +29,7 @@ class PyArrayReader : public framework::ReaderBase { ...@@ -29,9 +29,7 @@ class PyArrayReader : public framework::ReaderBase {
*out = queue_->Dequeue(); *out = queue_->Dequeue();
} }
void ReInit() override { void ReInit() override {}
// PADDLE_THROW("PyArrayReader does not support ReInit()");
}
private: private:
std::shared_ptr<PyArrayFeedQueue> queue_; std::shared_ptr<PyArrayFeedQueue> queue_;
......
...@@ -449,7 +449,6 @@ def random_data_generator(low, high, shapes, lod_levels, for_parallel=True): ...@@ -449,7 +449,6 @@ def random_data_generator(low, high, shapes, lod_levels, for_parallel=True):
return monkey_patch_reader_methods(main_prog_var) return monkey_patch_reader_methods(main_prog_var)
# UNCHECK(zengjinle)
def py_array_reader(capacity, def py_array_reader(capacity,
shapes, shapes,
lod_levels, lod_levels,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册