Join the SIG TFX-Addons community and help make TFX even better!

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(
      instance_name='latest_model_resolver',
      strategy_class=LatestArtifactStrategy,
      model=Channel(type=Model))
  model_resolver.outputs['model']