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

update python_data_feeding.md

上级 7ecb7b7d
......@@ -51,8 +51,8 @@ class PyArrayFeedQueueHolder {
// `init_once` can only called once, otherwise an exception would raise
void init_once(size_t capacity, const std::vector<framework::DDim>& dims, const Place& place);
PyArrayFeedQueue* feeder(); // feeder_.get()
const PyArrayFeederQueue* feeder() const; // feeder_.get()
PyArrayFeedQueue* feeder() { return feeder_.get(); }
const PyArrayFeederQueue* feeder() const { return feeder_.get(); }
private:
std::shared_ptr<PyArrayFeedQueue> feeder_;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册