TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

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.