Skip to content

Commit 9185579

Browse files
committed
follow comments
1 parent 5d0bf8b commit 9185579

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

python/paddle/fluid/layers/control_flow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,7 @@ class IfElse(object):
12181218
12191219
Examples:
12201220
.. code-block:: python
1221+
12211222
limit = layers.fill_constant_batch_size_like(
12221223
input=label, dtype='int64', shape=[1], value=5.0)
12231224
cond = layers.less_than(x=label, y=limit)

python/paddle/fluid/layers/io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ class Preprocessor(object):
596596
597597
Examples:
598598
.. code-block:: python
599+
599600
preprocessor = fluid.layers.io.Preprocessor(reader=reader)
600601
with preprocessor.block():
601602
img, lbl = preprocessor.inputs()

0 commit comments

Comments
 (0)