Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tfx.components.infra_validator.executor.Executor

View source on GitHub

TFX infra validator executor.

Inherits From: BaseExecutor

tfx.components.infra_validator.executor.Executor(
    context=None
)

Child Classes

class Context

Methods

Do

View source

Do(
    input_dict, output_dict, exec_properties
)

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.