![]() |
An channel parameter that forms part of a ComponentSpec.
tfx.types.component_spec.ChannelParameter(
type: Optional[Type[Artifact]] = None,
optional: Optional[bool] = 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
type_check
type_check(
arg_name: Text,
value: tfx.types.Channel
)
__eq__
__eq__(
other
)
Return self==value.