# tf.raw_ops.FakeParam

<br />

This op is used as a placeholder in If branch functions.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.FakeParam(
        dtype, shape, name=None
    )

It doesn't provide a
valid output when run, so must either be removed (e.g. replaced with a
function input) or guaranteed not to be used (e.g. if mirroring an
intermediate output needed for the gradient computation of the other branch).

<br />

<br />

<br />

| ## Args ||
|---|---|
| `dtype` | A [`tf.DType`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/dtypes/DType). The type of the output. |
| `shape` | A [`tf.TensorShape`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/TensorShape) or list of `ints`. The purported shape of the output. This is only used for shape inference; the output will not necessarily have this shape. Can be a partial shape. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />