def METHOD_NAME(self, weights, num_rounds, current_round):
    fl_model = FLModel(
        params=weights, params_type=ParamsType.FULL, current_round=current_round, total_rounds=num_rounds
    )
    dxo = FLModelUtils.to_dxo(fl_model)
    assert dxo.data_kind == DataKind.FL_MODEL
    assert dxo.data[FLModelConst.PARAMS] == weights
    assert dxo.data[FLModelConst.PARAMS_TYPE] == ParamsType.FULL
    assert dxo.data[FLModelConst.CURRENT_ROUND] == current_round
    assert dxo.data[FLModelConst.TOTAL_ROUNDS] == num_rounds