Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tfx.types.component_spec.ChannelParameter

View source on GitHub

An channel parameter that forms part of a ComponentSpec.

tfx.types.component_spec.ChannelParameter(
    type=None, optional=False
)

This type of parameter should be specified in the INPUTS and OUTPUTS dict fields of a ComponentSpec:

class MyCustomComponentSpec(ComponentSpec): # ... INPUTS = { 'input_examples': ChannelParameter(type=standard_artifacts.Examples), } OUTPUTS = { 'output_examples': ChannelParameter(type=standard_artifacts.Examples), } # ...

Methods

__eq__

View source

__eq__(
    other
)

Return self==value.

type_check

View source

type_check(
    arg_name, value
)