View source on GitHub
|
Represents the output of a supervised eval process. (deprecated)
Inherits From: ExportOutput
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.
Args |
|---|
loss
predictions
metrics
Metric class.
(2) (metric_value, update_op) tuples, or a single tuple.
metric_value must be a Tensor, and update_op must be a Tensor or Op.
Raises |
|---|
ValueError
Attributes |
|---|
loss
metrics
predictions
Methods
as_signature_def
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 |
|---|
receiver_tensors
Tensor, or a dict of string to Tensor, specifying
input nodes that will be fed.
Class Variables |
|---|
'loss'
'metrics'
'update_op'
'value'
'predictions'
View source on GitHub