diff options
author | Håvard Pettersen <havardpe@oath.com> | 2021-02-04 13:39:08 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2021-02-05 15:26:44 +0000 |
commit | 1bcb4ffac595d07c890aea8a03f6752bc251b2ad (patch) | |
tree | 45b189b59e07f21c071b49fd03cd2abc65e25236 /eval/src/tests/instruction/mixed_simple_join_function | |
parent | 0e5959f756feb6f0883388215152772fa5d8181f (diff) |
adjust param repo add options and remove seq_bias
GenSpec is now implicitly convertible to TensorSpec
Diffstat (limited to 'eval/src/tests/instruction/mixed_simple_join_function')
-rw-r--r-- | eval/src/tests/instruction/mixed_simple_join_function/mixed_simple_join_function_test.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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)) |