tfx.v1.types.standard_artifacts.Model

Artifact that contains the actual persisted model.

Inherits From: Artifact

Training components stores the trained model like a saved model in this artifact. A Model artifact contains serialization of the trained model in one or more formats, each suitable for different usage (e.g. serving, evaluation), and serving environments.

  • File structure:

    • {uri}/
      • Format-Serving/: Model exported for serving.
        • saved_model.pb
        • Other actual model files.
      • Format-TFMA/: Model exported for evaluation.
        • saved_model.pb
        • Other actual model files.
  • Commonly used custom properties of the Model artifact:

Child Classes

class TYPE_ANNOTATION

PROPERTIES None
TYPE_NAME 'Model'