[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tf.estimator.export.PredictOutput\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.12.1/tensorflow/python/saved_model/model_utils/export_output.py#L219-L249) |\n\nRepresents the output of a generic prediction head. (deprecated)\n\nInherits From: [`ExportOutput`](../../../tf/estimator/export/ExportOutput)\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n\\`tf.compat.v1.estimator.export.PredictOutput\\`\n\n\u003cbr /\u003e\n\n tf.estimator.export.PredictOutput(\n outputs\n )\n\n| **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use tf.keras instead.\n\nA generic prediction need not be either a classification or a regression.\n\nNamed outputs must be provided as a dict from string to `Tensor`,\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------|--------------------------------------------------------------------------|\n| `outputs` | A `Tensor` or a dict of string to `Tensor` representing the predictions. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|--------------|---------------------------------------------------------------------------------------------------------|\n| `ValueError` | if the outputs is not dict, or any of its keys are not strings, or any of its values are not `Tensor`s. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|-----------|---------------|\n| `outputs` | \u003cbr /\u003e \u003cbr /\u003e |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `as_signature_def`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v2.12.1/tensorflow/python/saved_model/model_utils/export_output.py#L247-L249) \n\n as_signature_def(\n receiver_tensors\n )\n\nGenerate a SignatureDef proto for inclusion in a MetaGraphDef.\n\nThe SignatureDef will specify outputs as described in this ExportOutput,\nand will use the provided receiver_tensors as inputs.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ||\n|--------------------|---------------------------------------------------------------------------------------|\n| `receiver_tensors` | a `Tensor`, or a dict of string to `Tensor`, specifying input nodes that will be fed. |\n\n\u003cbr /\u003e"]]