未验证 提交 401e92f6 编写于 作者: Y yuyang18

Change attr comment

上级 be528f98
...@@ -259,8 +259,11 @@ class OpenFilesOpMaker : public FileReaderMakerBase { ...@@ -259,8 +259,11 @@ class OpenFilesOpMaker : public FileReaderMakerBase {
An OpenFilesOp creates a MultiFileReader, which is able to An OpenFilesOp creates a MultiFileReader, which is able to
read data multi-threaded from multiple files. read data multi-threaded from multiple files.
)DOC"); )DOC");
AddAttr<int>("thread_num", "Number of thread to read files."); AddAttr<int>("thread_num",
AddAttr<int>("buffer_size", "The reading buffer of these files."); "The maximal concurrent prefetch thread number. Used only "
"when is_test = False");
AddAttr<int>("buffer_size", "The reading buffer of these files.")
.GreaterThan(0);
} }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册