Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
399b778f
Commit
399b778f
authored
Oct 10, 2019
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Oct 10, 2019
Browse files
experimental_allow_stateful is not necessary with make dataset fn
PiperOrigin-RevId: 274015143
parent
bcb231f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
official/vision/image_classification/imagenet_preprocessing.py
...ial/vision/image_classification/imagenet_preprocessing.py
+1
-0
No files found.
official/vision/image_classification/imagenet_preprocessing.py
View file @
399b778f
...
@@ -135,6 +135,7 @@ def process_record_dataset(dataset,
...
@@ -135,6 +135,7 @@ def process_record_dataset(dataset,
options
=
tf
.
data
.
Options
()
options
=
tf
.
data
.
Options
()
options
.
experimental_slack
=
tf_data_experimental_slack
options
.
experimental_slack
=
tf_data_experimental_slack
options
.
experimental_allow_stateful
=
True
dataset
=
dataset
.
with_options
(
options
)
dataset
=
dataset
.
with_options
(
options
)
return
dataset
return
dataset
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment