public static class ShuffleDataset.Options extends Object
ShuffleDataset
Modifier and Type | Method and Description |
---|---|
ShuffleDataset.Options |
reshuffleEachIteration(Boolean reshuffleEachIteration) |
public ShuffleDataset.Options reshuffleEachIteration(Boolean reshuffleEachIteration)
reshuffleEachIteration
- If true, each iterator over this dataset will be given
a different pseudorandomly generated seed, based on a sequence seeded by the
`seed` and `seed2` inputs. If false, each iterator will be given the same
seed, and repeated iteration over this dataset will yield the exact same
sequence of results.Copyright © 2022. All rights reserved.