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
92903d58
Commit
92903d58
authored
May 06, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
May 06, 2020
Browse files
Fix NHNet input pipeline.
PiperOrigin-RevId: 310251449
parent
3097fd2a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/nlp/nhnet/input_pipeline.py
official/nlp/nhnet/input_pipeline.py
+1
-1
No files found.
official/nlp/nhnet/input_pipeline.py
View file @
92903d58
...
@@ -208,7 +208,7 @@ def create_dataset(file_paths,
...
@@ -208,7 +208,7 @@ def create_dataset(file_paths,
else
:
else
:
dataset
=
process_singledoc_transformer_dataset
(
dataset
,
batch_size
,
dataset
=
process_singledoc_transformer_dataset
(
dataset
,
batch_size
,
params
)
params
)
dataset
=
dataset
.
prefetch
(
1024
)
dataset
=
dataset
.
prefetch
(
tf
.
data
.
experimental
.
AUTOTUNE
)
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