class_docstr: Benchmarks for `tf.data.experimental.parallel_interleave()`.
class_docstr_tok: ["Benchmarks","for","`","tf.data.experimental.parallel_interleave","(",")","`","."]
code: def make_dataset(
      self,
      interleave_version,
      initial_delay,
      remainder_delay,
      cycle_length,
      num_parallel_calls=None,
  ):
      dataset = dataset_ops.Dataset.range(1).repeat()
      interleave_fn = _make_fake_dataset_fn(
          initial_delay, remainder_delay
      )
      return self.apply_interleave(
          interleave_version=interleave_version,
          dataset=dataset,
          interleave_fn=interleave_fn,
          cycle_length=cycle_length,
          num_parallel_calls=num_parallel_calls,
      )
  
file_path: tensorflow-upstream/tensorflow/python/data/benchmarks/interleave_benchmark.py
imports: from tensorflow.python.data.benchmarks import benchmark_base
  from tensorflow.python.data.experimental.ops import interleave_ops
  from tensorflow.python.data.experimental.ops import testing
  from tensorflow.python.data.ops import dataset_ops
label_desc: Use image node_id 2 for calling the ParallelInterleaveBenchmark obj's underlying member method code with example usage: obj.make_dataset(interleave_version, initial_delay, remainder_delay, cycle_length, num_parallel_calls) and returns: self