Commit 9a6ab2af authored by Jiri Simsa's avatar Jiri Simsa Committed by TensorFlower Gardener
Browse files

[tf.data] Adding support for `num_parallel_calls` to `tf.data.Dataset.interleave`.

Unlike the `tf.data.contrib.parallel_interleave` whose parallelism is tied to the `cycle_length` argument, the newly introduced `num_parallel_calls` argument of `tf.data.Dataset.interleave` is decoupled from the `cycle_length` argument and identifies the degree of parallelism to use for fetching output elements.

PiperOrigin-RevId: 211886816
parent 33d2a0e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment