|View source on GitHub|
Strategy that resolves the latest n(=1) artifacts per each channel.
tfx.dsl.input_resolution.strategies.latest_artifact_strategy.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']