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
ffbada72
Commit
ffbada72
authored
Jul 18, 2019
by
guptapriya
Browse files
Update synth data pipeline dtype
parent
13cc0f70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/transformer/v2/data_pipeline.py
official/transformer/v2/data_pipeline.py
+2
-2
No files found.
official/transformer/v2/data_pipeline.py
View file @
ffbada72
...
...
@@ -268,10 +268,10 @@ def _generate_synthetic_data(params):
dataset
=
model_helpers
.
generate_synthetic_data
(
input_shape
=
tf
.
TensorShape
([
length
]),
input_value
=
1
,
input_dtype
=
tf
.
int
32
,
input_dtype
=
tf
.
int
64
,
label_shape
=
tf
.
TensorShape
([
length
]),
label_value
=
1
,
label_dtype
=
tf
.
int
32
,
label_dtype
=
tf
.
int
64
,
)
return
dataset
.
batch
(
batch
)
...
...
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