Creates a dataset that applies f to the outputs of input_dataset.
tf.raw_ops.LegacyParallelInterleaveDatasetV2(
input_dataset,
other_arguments,
cycle_length,
block_length,
buffer_output_elements,
prefetch_input_elements,
f,
output_types,
output_shapes,
deterministic='default',
metadata='',
name=None
)
The resulting dataset is similar to the InterleaveDataset, with the exception
that if retrieving the next value from a dataset would cause the requester to
block, it will skip that input dataset. This dataset is especially useful
when loading data from a variable-latency datastores (e.g. HDFS, GCS), as it
allows the training step to proceed so long as some data is available.
!! WARNING !! This dataset is not deterministic!
Args |
|---|
input_dataset
Tensor of type variant.
other_arguments
Tensor objects.
cycle_length
Tensor of type int64.
block_length
Tensor of type int64.
buffer_output_elements
Tensor of type int64.
prefetch_input_elements
Tensor of type int64.
f
input_dataset, concatenated with
other_arguments, to a Dataset variant that contains elements matching
output_types and output_shapes.
output_types
tf.DTypes that has length >= 1.
output_shapes
tf.TensorShape or list of ints) that has length >= 1.
deterministic
string. Defaults to "default".
metadata
string. Defaults to "".
name
Returns | |
|---|---|
A Tensor of type variant.
|