tfx.types.channel_utils.as_channel

View source on GitHub

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

artifacts An iterable of Artifact.

A static Channel containing the source artifact collection.

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