提交 ce84af63 编写于 作者: F fengjiayi

update

上级 dd532e20
...@@ -185,8 +185,8 @@ With `MultiPassReader`, the startup program would be like this: ...@@ -185,8 +185,8 @@ With `MultiPassReader`, the startup program would be like this:
``` ```
multiple_reader = open_files_op(...) multiple_reader = open_files_op(...)
batch_reader = create_batch_reader_op(multiple_reader) batch_reader = create_batch_reader_op(multiple_reader)
double_buffer_reader = create_double_buffer_op(batch_reader) multi_pass_reader = create_multi_pass_reader_op(batch_reader)
multi_pass_reader = create_multi_pass_reader_op(double_buffer_reader) double_buffer_reader = create_double_buffer_op(multi_pass_reader)
... (other initializers) ... (other initializers)
``` ```
...@@ -195,8 +195,8 @@ The forwarding part of the corresponding `main_program` would be like this: ...@@ -195,8 +195,8 @@ The forwarding part of the corresponding `main_program` would be like this:
``` ```
not_completed = true not_completed = true
while_op(not_completed) { while_op(not_completed) {
batch_data = read_op(multi_pass_reader) batch_data = read_op(double_buffer_reader)
... (subsequent training ops) ... (subsequent training ops)
not_completed = has_next_op(multi_pass_reader) not_completed = has_next_op(double_buffer_reader)
} }
``` ```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册