|View source on GitHub|
tfx.types.Channel( type: Type[
tfx.types.Artifact], additional_properties: Optional[Dict[str, Property]] = None, additional_custom_properties: Optional[Dict[str, Property]] = None, artifacts: Optional[Iterable[Artifact]] = None, matching_channel_name: Optional[str] = None, producer_component_id: Optional[str] = None, output_key: Optional[Text] = None )
Used in the notebooks
|Used in the tutorials|
TFX Channel is an abstract concept that connects data producers and data consumers. It contains restriction of the artifact type that should be fed into or read from it.
||Subclass of Artifact that represents the type of this Channel.|
||(Optional) A mapping of properties which will be added to artifacts when this channel is used as an output of components.|
||(Optional) A mapping of custom_properties which will be added to artifacts when this channel is used as an output of components.|
||(Optional) A collection of artifacts as the values that can be read from the Channel. This is used to construct a static Channel.|
This targets to the key of an input Channel dict
in a Component. The artifacts count of this channel will be decided at
runtime in Driver, based on the artifacts count of the target channel.
Only one of
||(Optional) Producer component id of the Channel.|
||(Optional) The output key when producer component produces the artifacts in this Channel.|
||The artifact type class that the Channel takes.|
from_json_dict( dict_data: Dict[Text, Any] ) -> Any
Convert from dictionary data to an object.
get() -> Iterable[
Returns all artifacts that can be get from this Channel.
|An artifact collection.|
to_json_dict() -> Dict[Text, Any]
Convert from an object to a JSON serializable dictionary.