Strategy that resolves the latest n(=1) artifacts per each channel.
tfx.v1.dsl.experimental.LatestArtifactStrategy( desired_num_of_artifacts: Optional[int] = 1 )
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']