[tf.data] Add the kBufferSizeMin to .cc file to solve some bug.

PiperOrigin-RevId: 333311804
Change-Id: I8b9c6e13c8c40612ab4c08760920ef59a92ce15a
This commit is contained in:
Jay Shi 2020-09-23 09:49:17 -07:00 committed by TensorFlower Gardener
parent 00e23f636c
commit e38e718a08

View File

@ -45,6 +45,7 @@ namespace data {
/* static */ constexpr const char* const PrefetchDatasetOp::kOutputShapes;
/* static */ constexpr const char* const PrefetchDatasetOp::kSlackPeriod;
/* static */ constexpr const char* const PrefetchDatasetOp::kLegacyAutotune;
/* static */ constexpr const char* const PrefetchDatasetOp::kBufferSizeMin;
// Determines the fraction of slack time by which to delay prefetching of data.
constexpr double kSleepFactor = 0.2;