aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/tests/instruction/dense_simple_expand_function
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@oath.com>2021-02-04 13:39:08 +0000
committerHåvard Pettersen <havardpe@oath.com>2021-02-05 15:26:44 +0000
commit1bcb4ffac595d07c890aea8a03f6752bc251b2ad (patch)
tree45b189b59e07f21c071b49fd03cd2abc65e25236 /eval/src/tests/instruction/dense_simple_expand_function
parent0e5959f756feb6f0883388215152772fa5d8181f (diff)
adjust param repo add options and remove seq_bias
GenSpec is now implicitly convertible to TensorSpec
Diffstat (limited to 'eval/src/tests/instruction/dense_simple_expand_function')
-rw-r--r--eval/src/tests/instruction/dense_simple_expand_function/dense_simple_expand_function_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/eval/src/tests/instruction/dense_simple_expand_function/dense_simple_expand_function_test.cpp b/eval/src/tests/instruction/dense_simple_expand_function/dense_simple_expand_function_test.cpp
index 132f88076f6..e8f68e5021e 100644
--- a/eval/src/tests/instruction/dense_simple_expand_function/dense_simple_expand_function_test.cpp
+++ b/eval/src/tests/instruction/dense_simple_expand_function/dense_simple_expand_function_test.cpp
@@ -18,9 +18,9 @@ const ValueBuilderFactory &prod_factory = FastValueBuilderFactory::get();
EvalFixture::ParamRepo make_params() {
return EvalFixture::ParamRepo()
- .add("a", GenSpec().seq_bias(1.5).gen())
- .add("sparse", GenSpec().map("x", {"a"}).gen())
- .add("mixed", GenSpec().map("y", {"a"}).idx("z", 5).gen())
+ .add("a", GenSpec(1.5))
+ .add("sparse", GenSpec().map("x", {"a"}))
+ .add("mixed", GenSpec().map("y", {"a"}).idx("z", 5))
.add_variants("a5", GenSpec().idx("a", 5))
.add_variants("b3", GenSpec().idx("b", 3))
.add_variants("A1a5c1", GenSpec().idx("A", 1).idx("a", 5).idx("c", 1))