View source on GitHub |
Build a eval_input_receiver_fn expecting fed tf.Examples.
tfma.export.build_parsing_eval_input_receiver_fn(
feature_spec, label_key: Optional[str]
) -> Callable[[], tfma.export.EvalInputReceiverType
]
Creates a eval_input_receiver_fn that expects a serialized tf.Example fed into a string placeholder. The function parses the tf.Example according to the provided feature_spec, and returns all parsed Tensors as features.
Returns | |
---|---|
A eval_input_receiver_fn suitable for use with TensorFlow model analysis. |