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
c6183922
Commit
c6183922
authored
Jul 30, 2019
by
Mark Daoust
Browse files
Remove make_one_shot_interator
parent
c45213c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
samples/cookbook/regression/automobile_data.py
samples/cookbook/regression/automobile_data.py
+1
-1
No files found.
samples/cookbook/regression/automobile_data.py
View file @
c6183922
...
@@ -122,6 +122,6 @@ def make_dataset(batch_sz, x, y=None, shuffle=False, shuffle_buffer_size=1000):
...
@@ -122,6 +122,6 @@ def make_dataset(batch_sz, x, y=None, shuffle=False, shuffle_buffer_size=1000):
dataset
=
dataset
.
shuffle
(
shuffle_buffer_size
).
batch
(
batch_sz
).
repeat
()
dataset
=
dataset
.
shuffle
(
shuffle_buffer_size
).
batch
(
batch_sz
).
repeat
()
else
:
else
:
dataset
=
dataset
.
batch
(
batch_sz
)
dataset
=
dataset
.
batch
(
batch_sz
)
return
dataset
.
make_one_shot_iterator
().
get_next
()
return
dataset
return
input_fn
return
input_fn
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