Join the SIG TFX-Addons community and help make TFX even better!

tfx.components.Transform.SPEC_CLASS

Transform component spec.

Inherits From: ComponentSpec

**kwargs Any inputs, outputs and execution parameters for this instance of the component spec.

Methods

from_json_dict

View source

Convert from dictionary data to an object.

to_json_dict

View source

Convert from an object to a JSON serializable dictionary.

__eq__

View source

Return self==value.

INPUTS

{
 'analyzer_cache': ChannelParameter(type: <class 'tfx.types.standard_artifacts.TransformCache'>),
 'examples': ChannelParameter(type: <class 'tfx.types.standard_artifacts.Examples'>),
 'schema': ChannelParameter(type: <class 'tfx.types.standard_artifacts.Schema'>)
}

OUTPUTS

{
 'transform_graph': ChannelParameter(type: <class 'tfx.types.standard_artifacts.TransformGraph'>),
 'transformed_examples': ChannelParameter(type: <class 'tfx.types.standard_artifacts.Examples'>),
 'updated_analyzer_cache': ChannelParameter(type: <class 'tfx.types.standard_artifacts.TransformCache'>)
}

PARAMETERS

{
 'custom_config': ExecutionParameter(type: (<class 'str'>, <class 'str'>), optional: True),
 'force_tf_compat_v1': ExecutionParameter(type: <class 'int'>, optional: True),
 'module_file': ExecutionParameter(type: (<class 'str'>, <class 'str'>), optional: True),
 'preprocessing_fn': ExecutionParameter(type: (<class 'str'>, <class 'str'>), optional: True),
 'splits_config': ExecutionParameter(type: <class 'tfx.proto.transform_pb2.SplitsConfig'>, optional: True)
}