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
bdf8299a
Commit
bdf8299a
authored
Oct 14, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Oct 14, 2020
Browse files
Remove repeating prefetch.
PiperOrigin-RevId: 337242735
parent
44fc54a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
official/core/input_reader.py
official/core/input_reader.py
+0
-2
No files found.
official/core/input_reader.py
View file @
bdf8299a
...
@@ -277,8 +277,6 @@ class InputReader:
...
@@ -277,8 +277,6 @@ class InputReader:
service
=
self
.
_tf_data_service_address
,
service
=
self
.
_tf_data_service_address
,
job_name
=
self
.
_tf_data_service_job_name
))
job_name
=
self
.
_tf_data_service_job_name
))
dataset
=
dataset
.
prefetch
(
buffer_size
=
tf
.
data
.
experimental
.
AUTOTUNE
)
if
self
.
_deterministic
is
not
None
:
if
self
.
_deterministic
is
not
None
:
options
=
tf
.
data
.
Options
()
options
=
tf
.
data
.
Options
()
options
.
experimental_deterministic
=
self
.
_deterministic
options
.
experimental_deterministic
=
self
.
_deterministic
...
...
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