Skip to content

Commit 98373d2

Browse files
authored
Fix C++ Data Feeding link in Python Data Feeding doc
Updated the link to the C++ Data Feeding documentation for accuracy.
1 parent 9b41f77 commit 98373d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/design/concepts/python_data_feeding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
In the former implementation of Paddle Fluid, there are two ways to feed data:
44

5-
- Use `reader_op` in backend C++ side. This method only supports data feeding from recordio files and random data generators, but supports many kinds of `decorated_readers`. For examples, `double_buffer_reader` uses two threads to achieve better performance: one for time-consuming I/O operations, and the other for `Executor::Run()`. See [C++ Data Feeding](https://github.com/Echo-Nie/PP-docs/blob/TensorFlow-Paddle-docs/docs/design/concepts/cpp_data_feeding.md) for details.
5+
- Use `reader_op` in backend C++ side. This method only supports data feeding from recordio files and random data generators, but supports many kinds of `decorated_readers`. For examples, `double_buffer_reader` uses two threads to achieve better performance: one for time-consuming I/O operations, and the other for `Executor::Run()`. See [C++ Data Feeding](https://github.com/PaddlePaddle/docs/blob/TensorFlow-Paddle-docs/docs/design/concepts/cpp_data_feeding.md) for details.
66

77
- Feed data directly using `DataFeeder.feed()` in Python codes. It is more flexible than the first way. Many kinds of preprocessing steps can be performed before feeding using Python or any other languages, instead of adding many uncommon `operators` in C++ side. But this method is less efficient: the program cannot read the next mini-batch data before `Executor::Run()` ends. Moreover, `decorated_readers` such as `double_buffer_reader` cannot be used for better performance.
88

0 commit comments

Comments
 (0)