From 1bcb4ffac595d07c890aea8a03f6752bc251b2ad Mon Sep 17 00:00:00 2001 From: HÃ¥vard Pettersen Date: Thu, 4 Feb 2021 13:39:08 +0000 Subject: adjust param repo add options and remove seq_bias GenSpec is now implicitly convertible to TensorSpec --- .../mixed_simple_join_function_test.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'eval/src/tests/instruction/mixed_simple_join_function') diff --git a/eval/src/tests/instruction/mixed_simple_join_function/mixed_simple_join_function_test.cpp b/eval/src/tests/instruction/mixed_simple_join_function/mixed_simple_join_function_test.cpp index 105ae22e06e..6220682d716 100644 --- a/eval/src/tests/instruction/mixed_simple_join_function/mixed_simple_join_function_test.cpp +++ b/eval/src/tests/instruction/mixed_simple_join_function/mixed_simple_join_function_test.cpp @@ -45,12 +45,12 @@ const ValueBuilderFactory &prod_factory = FastValueBuilderFactory::get(); EvalFixture::ParamRepo make_params() { return EvalFixture::ParamRepo() - .add("a", GenSpec().seq_bias(1.5).gen()) - .add("b", GenSpec().seq_bias(2.5).gen()) - .add("sparse", GenSpec().map("x", {"a", "b", "c"}).gen()) - .add("mixed", GenSpec().map("x", {"a", "b", "c"}).idx("y", 5).idx("z", 3).gen()) - .add("empty_mixed", GenSpec().map("x", {}).idx("y", 5).idx("z", 3).gen()) - .add_mutable("@mixed", GenSpec().map("x", {"a", "b", "c"}).idx("y", 5).idx("z", 3).gen()) + .add("a", GenSpec(1.5)) + .add("b", GenSpec(2.5)) + .add("sparse", GenSpec().map("x", {"a", "b", "c"})) + .add("mixed", GenSpec().map("x", {"a", "b", "c"}).idx("y", 5).idx("z", 3)) + .add("empty_mixed", GenSpec().map("x", {}).idx("y", 5).idx("z", 3)) + .add_mutable("@mixed", GenSpec().map("x", {"a", "b", "c"}).idx("y", 5).idx("z", 3)) .add_variants("a1b1c1", GenSpec().idx("a", 1).idx("b", 1).idx("c", 1)) .add_variants("x1y1z1", GenSpec().idx("x", 1).idx("y", 1).idx("z", 1)) .add_variants("x3y5z3", GenSpec().idx("x", 3).idx("y", 5).idx("z", 3)) -- cgit v1.2.3