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
1577ed07
Commit
1577ed07
authored
Sep 11, 2019
by
Jiri Simsa
Committed by
A. Unique TensorFlower
Sep 11, 2019
Browse files
Fix TF 2.0 tf.data API usage.
PiperOrigin-RevId: 268401010
parent
5ceb3acf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/recommendation/data_test.py
official/recommendation/data_test.py
+1
-1
No files found.
official/recommendation/data_test.py
View file @
1577ed07
...
...
@@ -127,7 +127,7 @@ class BaseTest(tf.test.TestCase):
# type: (tf.data.Dataset, tf.Graph) -> list
with
self
.
session
(
graph
=
g
)
as
sess
:
with
g
.
as_default
():
batch
=
data
set
.
make_one_shot_iterator
().
get_next
()
batch
=
tf
.
compat
.
v1
.
data
.
make_one_shot_iterator
(
dataset
).
get_next
()
output
=
[]
while
True
:
try
:
...
...
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