def METHOD_NAME(self, weights, num_rounds, current_round):
    dxo = DXO(data_kind=DataKind.WEIGHTS, data=weights, meta={AppConstants.VALIDATE_TYPE: "before_train_validate"})
    shareable = dxo.to_shareable()
    shareable.set_header(AppConstants.NUM_ROUNDS, num_rounds)
    shareable.set_header(AppConstants.CURRENT_ROUND, current_round)
    fl_model = FLModelUtils.from_shareable(shareable=shareable)
    assert fl_model.params == dxo.data
    assert fl_model.params_type == ParamsType.FULL
    assert fl_model.current_round == current_round
    assert fl_model.total_rounds == num_rounds