这篇博客讲的很清楚。
注:buffer_size表示在shuffle时缓冲池的大小,影响随机顺序。
The buffer_size in Dataset.shuffle() can affect the randomness of your dataset, and hence the order in which elements are produced.
tensorflow.data.dataset
最新推荐文章于 2022-04-09 22:27:48 发布
这篇博客讲的很清楚。
注:buffer_size表示在shuffle时缓冲池的大小,影响随机顺序。
The buffer_size in Dataset.shuffle() can affect the randomness of your dataset, and hence the order in which elements are produced.