Skip to content

Commit d08e289

Browse files
colllinfchollet
authored andcommitted
Clarify docs for shuffle arg of model.fit_generator (keras-team#8063)
* Clarify docs for `shuffle` arg of `fit_generator` * Clarify docs on `shuffle` arg of `model.fit_generator` * Clarify docs for `shuffle` arg of `fit_generator` * Clarify docs for `shuffle` arg of `fit_generator`
1 parent ce406b7 commit d08e289

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

keras/engine/training.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,9 +1894,9 @@ def fit_generator(self, generator,
18941894
non picklable arguments to the generator
18951895
as they can't be passed
18961896
easily to children processes.
1897-
shuffle: Whether to shuffle the data at the beginning of each
1898-
epoch. Only used with instances of `Sequence` (
1899-
keras.utils.Sequence).
1897+
shuffle: Whether to shuffle the order of the batches at
1898+
the beginning of each epoch. Only used with instances
1899+
of `Sequence` (keras.utils.Sequence).
19001900
initial_epoch: Epoch at which to start training
19011901
(useful for resuming a previous training run)
19021902

keras/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,9 +1087,9 @@ def fit_generator(self, generator,
10871087
non picklable arguments to the generator
10881088
as they can't be passed
10891089
easily to children processes.
1090-
shuffle: Whether to shuffle the data at the beginning of each
1091-
epoch. Only used with instances of `Sequence` (
1092-
keras.utils.Sequence).
1090+
shuffle: Whether to shuffle the order of the batches at
1091+
the beginning of each epoch. Only used with instances
1092+
of `Sequence` (keras.utils.Sequence).
10931093
initial_epoch: Epoch at which to start training
10941094
(useful for resuming a previous training run).
10951095

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy