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

tfx.types.standard_component_specs.TunerSpec

ComponentSpec for TFX Tuner Component.

Inherits From: ComponentSpec

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

Methods

__eq__

View source

Return self==value.

INPUTS

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

OUTPUTS

{
 'best_hyperparameters': ChannelParameter(type: <class 'tfx.types.standard_artifacts.HyperParameters'>)
}

PARAMETERS

{
 'custom_config': ExecutionParameter(type: (<class 'str'>, <class 'str'>), optional: True),
 'eval_args': ExecutionParameter(type: <class 'tfx.proto.trainer_pb2.EvalArgs'>, optional: False),
 'module_file': ExecutionParameter(type: (<class 'str'>, <class 'str'>), optional: True),
 'train_args': ExecutionParameter(type: <class 'tfx.proto.trainer_pb2.TrainArgs'>, optional: False),
 'tune_args': ExecutionParameter(type: <class 'tfx.proto.tuner_pb2.TuneArgs'>, optional: True),
 'tuner_fn': ExecutionParameter(type: (<class 'str'>, <class 'str'>), optional: True)
}