tfx.v1.dsl.experimental.LatestArtifactStrategy

Strategy that resolves the latest n(=1) artifacts per each channel.

Inherits From: ResolverStrategy

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

Don't construct LatestArtifactStrategy directly, example usage:

  model_resolver = Resolver(
      strategy_class=LatestArtifactStrategy,
      model=Channel(type=Model),
  ).with_id('latest_model_resolver')
  model_resolver.outputs['model']