# tf.raw_ops.LoopCond

<br />

Forwards the input to the output.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.LoopCond(
        input, name=None
    )

This operator represents the loop termination condition used by the
"pivot" switches of a loop.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input` | A `Tensor` of type `bool`. A boolean scalar, representing the branch predicate of the Switch op. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />