tf.raw_ops.ChooseFastestBranchDataset
tf.raw_ops.ChooseFastestBranchDataset(
input_dataset, ratio_numerator, ratio_denominator, other_arguments,
num_elements_per_branch, branches, other_arguments_lengths, output_types,
output_shapes, name=None
)
Args |
input_dataset | A Tensor of type variant . |
ratio_numerator | A Tensor of type int64 . |
ratio_denominator | A Tensor of type int64 . |
other_arguments | A list of Tensor objects. |
num_elements_per_branch | An int that is >= 1 . |
branches | A list of functions decorated with @Defun that has length >= 1 . |
other_arguments_lengths | A list of ints that has length >= 1 . |
output_types | A list of tf.DTypes that has length >= 1 . |
output_shapes | A list of shapes (each a tf.TensorShape or list of ints ) that has length >= 1 . |
name | A name for the operation (optional). |
Returns |
A Tensor of type variant . |