<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.15.1/tensorflow/python/saved_model/model_utils/export_output.py#L220-L250) |

Represents the output of a generic prediction head. (deprecated)

Inherits From: [`ExportOutput`](https://www.tensorflow.org/versions/r2.15/api_docs/python/tf/estimator/export/ExportOutput.md.txt)

```python
tf.estimator.export.PredictOutput(
    outputs
)
```

> [!WARNING]
> **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use tf.keras instead.

A generic prediction need not be either a classification or a regression.

Named outputs must be provided as a dict from string to `Tensor`,

<br />

<br />

<br />

| ## Args ||
|---|---|
| `outputs` | A `Tensor` or a dict of string to `Tensor` representing the predictions. |

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `ValueError` | if the outputs is not dict, or any of its keys are not strings, or any of its values are not `Tensor`s. |

<br />

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `outputs` | <br /> <br /> |

<br />

## Methods

### `as_signature_def`

[View source](https://github.com/tensorflow/tensorflow/blob/v2.15.1/tensorflow/python/saved_model/model_utils/export_output.py#L248-L250)

```python
as_signature_def(
    receiver_tensors
)
```

Generate a SignatureDef proto for inclusion in a MetaGraphDef.

The SignatureDef will specify outputs as described in this ExportOutput,
and will use the provided receiver_tensors as inputs.

<br />

<br />

<br />

| Args ||
|---|---|
| `receiver_tensors` | a `Tensor`, or a dict of string to `Tensor`, specifying input nodes that will be fed. |

<br />