提交 40fb0494 编写于 作者: Q qiaolongfei

add comment to py_reader_by_data

上级 85ddb5c7
...@@ -755,6 +755,10 @@ def py_reader(capacity, ...@@ -755,6 +755,10 @@ def py_reader(capacity,
def py_reader_by_data(capacity, feed_list, name=None, use_double_buffer=True): 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( return _py_reader(
capacity=capacity, capacity=capacity,
shapes=None, shapes=None,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册