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
967133c1
Commit
967133c1
authored
Sep 02, 2018
by
Toby Boyd
Browse files
tweak synth input_fn comments
parent
c9972ad6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
official/resnet/resnet_run_loop.py
official/resnet/resnet_run_loop.py
+4
-2
No files found.
official/resnet/resnet_run_loop.py
View file @
967133c1
...
@@ -112,8 +112,10 @@ def get_synth_input_fn(height, width, num_channels, num_classes,
...
@@ -112,8 +112,10 @@ def get_synth_input_fn(height, width, num_channels, num_classes,
dtype
=
tf
.
float32
):
dtype
=
tf
.
float32
):
"""Returns an input function that returns a dataset with random data.
"""Returns an input function that returns a dataset with random data.
This input_fn removed all aspects of the input pipeline other than the
This input_fn returns a data set that iterates over a set of random data and
host to device copy. This is useful in debugging input pipeline performance.
bypasses all preprocessing, e.g. jpeg decode and copy. The host to device
copy is still included. This used to find the upper throughput bound when
tunning the full input pipeline.
Args:
Args:
height: Integer height that will be used to create a fake image tensor.
height: Integer height that will be used to create a fake image tensor.
...
...
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