Skip to content

Commit 8110bb6

Browse files
saberkuntensorflower-gardener
authored andcommitted
experimental_allow_stateful is not necessary with make dataset fn
PiperOrigin-RevId: 273861263
1 parent 0257b27 commit 8110bb6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

official/vision/image_classification/imagenet_preprocessing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ def process_record_dataset(dataset,
135135

136136
options = tf.data.Options()
137137
options.experimental_slack = tf_data_experimental_slack
138-
options.experimental_allow_stateful = True
139138
dataset = dataset.with_options(options)
140139

141140
return dataset

0 commit comments

Comments
 (0)