tf.estimator.export.PredictOutput

View source on GitHub

Represents the output of a generic prediction head.

Inherits From: ExportOutput

tf.estimator.export.PredictOutput(
    outputs
)

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

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

Args:

Attributes:

Raises:

Methods

as_signature_def

View source

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.

Args: