def _log_early_stop_callback_params(callback):
    if callback:
        try:
            earlystopping_params = {'monitor': callback.monitor, 'min_delta': callback.min_delta, 'patience': callback.patience, 'baseline': callback.baseline, 'restore_best_weights': callback.restore_best_weights}
            try_mlflow_log(mlflow.log_params, earlystopping_params)
        except Exception:
            return
def _log_early_stop_callback_params(callback):
    if callback:
        try:
            earlystopping_params = {'monitor': callback.monitor, 'min_delta': callback.min_delta, 'patience': callback.patience, 'baseline': callback.baseline, 'restore_best_weights': callback.restore_best_weights}
            try_mlflow_log(mlflow.log_params, earlystopping_params)
        except Exception:
            return