Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
longranger2 committed Jul 30, 2023
1 parent 2ba235a commit 4963dac
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 127 deletions.
11 changes: 5 additions & 6 deletions python/paddle/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,11 @@ def batch(reader, batch_size, drop_last=False):
>>> for data in batch_reader():
... print(data)
...
>>> # Output is
>>> # [0, 1]
>>> # [2, 3]
>>> # [4, 5]
>>> # [6, 7]
>>> # [8, 9]
[0, 1]
[2, 3]
[4, 5]
[6, 7]
[8, 9]
"""

def batch_reader():
Expand Down
Loading

0 comments on commit 4963dac

Please sign in to comment.