Commit 967133c1 authored by Toby Boyd's avatar Toby Boyd
Browse files

tweak synth input_fn comments

parent c9972ad6
...@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment