|View source on GitHub|
Represents the output of a supervised eval process.
Compat aliases for migration
See Migration guide for more details.
tf.estimator.export.EvalOutput( loss=None, predictions=None, metrics=None )
This class generates the appropriate signature def for exporting eval output by type-checking and wrapping loss, predictions, and metrics values.
||dict of Tensors or single Tensor representing calculated loss.|
||dict of Tensors or single Tensor representing model predictions.|
Dict of metric results keyed by name.
The values of the dict can be one of the following:
(1) instance of
||if any of the outputs' dict keys are not strings or tuples of strings or the values are not Tensors (or Operations in the case of update_op).|