Registration is open for TensorFlow Dev Summit 2020 Learn more

tfx.dsl.experimental.latest_artifacts_resolver.LatestArtifactsResolver

View source on GitHub

Class LatestArtifactsResolver

Resolver that return the latest n artifacts in a given channel.

Inherits From: BaseResolver

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

__init__

View source

__init__(desired_num_of_artifacts=1)

Initialize self. See help(type(self)) for accurate signature.

Methods

resolve

View source

resolve(
    metadata_handler,
    source_channels
)

Resolves artifacts from channels by querying MLMD.

Args:

  • metadata_handler: a read-only handler to query MLMD.
  • source_channels: a key -> channel dict which contains the info of the source channels.

Returns:

a ResolveResult instance.