tfx.v1.dsl.experimental.LatestBlessedModelStrategy

LatestBlessedModelStrategy resolves the latest blessed Model artifact.

Inherits From: ResolverStrategy

Note that this ResolverStrategy is experimental and is subject to change in terms of both interface and implementation.

Don't construct LatestBlessedModelStrategy directly, example usage:

  model_resolver = Resolver(
      strategy_class=LatestBlessedModelStrategy,
      model=Channel(type=Model),
      model_blessing=Channel(type=ModelBlessing),
  ).with_id('latest_blessed_model_resolver')
  model_resolver.outputs['model']