tfx.types.channel_utils.as_channel

View source on GitHub

Converts artifact collection of the same artifact type into a Channel.

tfx.types.channel_utils.as_channel(artifacts)

Args:

  • artifacts: An iterable of Artifact.

Returns:

A static Channel containing the source artifact collection.

Raises:

ValueError when source is not a non-empty iterable of Artifact.