Announcing the TensorFlow Dev Summit 2020 Learn more

tfx.dsl.resolvers.base_resolver.BaseResolver

View source on GitHub

Class BaseResolver

Base class for resolver.

Resolver is the logical unit that will be used optionally for input selection. A resolver subclass must override the resolve() function which takes a read-only MLMD handler and a dict of as parameters and produces a ResolveResult instance.

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.