From 40fb04943f649eed807aa88a9bd40511cf07d6bf Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Thu, 27 Sep 2018 22:45:21 +0800 Subject: [PATCH] add comment to py_reader_by_data --- python/paddle/fluid/layers/io.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/paddle/fluid/layers/io.py b/python/paddle/fluid/layers/io.py index 90b11926c..b4da940aa 100644 --- a/python/paddle/fluid/layers/io.py +++ b/python/paddle/fluid/layers/io.py @@ -755,6 +755,10 @@ def py_reader(capacity, def py_reader_by_data(capacity, feed_list, name=None, use_double_buffer=True): + """ + Works much like py_reader except that it's input is feed_list + instead of shapes, dtypes, lod_levels + """ return _py_reader( capacity=capacity, shapes=None, -- GitLab