tfx.v1.components.TunerFnResult

Return type of tuner_fn.

tuner_fn returns a TunerFnResult that contains:

  • tuner: A BaseTuner that will be used for tuning.
  • fit_kwargs: Args to pass to tuner's run_trial function for fitting the model , e.g., the training and validation dataset. Required args depend on the tuner's implementation.

tuner A namedtuple alias for field number 0
fit_kwargs A namedtuple alias for field number 1