# tf.raw_ops.ChooseFastestBranchDataset

<br />

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.ChooseFastestBranchDataset`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/ChooseFastestBranchDataset)

<br />

    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
    )

<br />

<br />

<br />

| ## 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`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/TensorShape) or list of `ints`) that has length `>= 1`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `variant`. ||

<br />