tfx.components.infra_validator.executor.Executor

View source on GitHub

TFX infra validator executor.

Inherits From: BaseExecutor

Child Classes

class Context

Methods

Do

View source

Contract for running InfraValidator Executor.

Args
input_dict

  • model: Single Model artifact that we're validating.
  • examples: Examples artifacts to be used for test requests.
output_dict
  • blessing: Single InfraBlessing artifact containing the validated result. It is an empty file with the name either of INFRA_BLESSED or INFRA_NOT_BLESSED.
  • exec_properties
  • serving_spec: Serialized ServingSpec configuration.
  • validation_spec: Serialized ValidationSpec configuration.
  • request_spec: Serialized RequestSpec configuration.