|View source on GitHub|
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.
type_name: A string representing the artifact type the Channel takes.
__init__( type_name=None, type=None, artifacts=None )
Initialization of Channel.
type_name: Name of the type that should be fed into or read from the Channel. If not specified, "type" must be specified instead.
type: Subclass of Artifact that represents the type of the Channel. If not specified, "type_name" must be specified instead.
artifacts: (Optional) A collection of artifacts as the values that can be read from the Channel. This is used to construct a static Channel.
from_json_dict( cls, dict_data )
Convert from dictionary data to an object.
Returns all artifacts that can be get from this Channel.
An artifact collection.
Convert from an object to a JSON serializable dictionary.