def METHOD_NAME(smoothing, model_cls):
    model = model_cls()
    ema_model = model_cls()
    original_model = copy.deepcopy(ema_model)
    compute_ema(model=model, ema_model=ema_model, smoothing=smoothing)
    validate_ema(model, original_model, ema_model, smoothing)