diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-02-24 18:32:38 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-02-24 18:32:38 +0100 |
commit | 6cb1c29a8076f22415ef448bd114dfec9b37e00e (patch) | |
tree | 6c6377915ab00cb06eac66d46ae3470edfc6f10a /config-model/src/test/derived/tensor/rank-profiles.cfg | |
parent | 180bc0034ae5ba6f2b5644a7c520486bbcc511bd (diff) |
Cleanup and more type inference
- Use a type context in TensorTransformer
- Correct Join.outputType
- Understand tensorFromLabels and tensorFromWeightedSet
- Don't wrap simple tensor arguments in constant()
Diffstat (limited to 'config-model/src/test/derived/tensor/rank-profiles.cfg')
-rw-r--r-- | config-model/src/test/derived/tensor/rank-profiles.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/test/derived/tensor/rank-profiles.cfg b/config-model/src/test/derived/tensor/rank-profiles.cfg index b6ad5372c05..9070e34458e 100644 --- a/config-model/src/test/derived/tensor/rank-profiles.cfg +++ b/config-model/src/test/derived/tensor/rank-profiles.cfg @@ -24,7 +24,7 @@ rankprofile[2].name "profile1" rankprofile[2].fef.property[0].name "vespa.rank.firstphase" rankprofile[2].fef.property[0].value "rankingExpression(firstphase)" rankprofile[2].fef.property[1].name "rankingExpression(firstphase).rankingScript" -rankprofile[2].fef.property[1].value "map(attribute(f4), f(x)(x * x)) + reduce(tensor(x[2],y[3])(random), count) * rename(attribute(f4), (x, y), (y, x))" +rankprofile[2].fef.property[1].value "reduce(map(attribute(f4), f(x)(x * x)) + reduce(tensor(x[2],y[3])(random), count) * rename(attribute(f4), (x, y), (y, x)), sum)" rankprofile[2].fef.property[2].name "vespa.type.attribute.f2" rankprofile[2].fef.property[2].value "tensor(x[2],y[])" rankprofile[2].fef.property[3].name "vespa.type.attribute.f3" @@ -46,7 +46,7 @@ rankprofile[4].name "profile3" rankprofile[4].fef.property[0].name "vespa.rank.firstphase" rankprofile[4].fef.property[0].value "rankingExpression(firstphase)" rankprofile[4].fef.property[1].name "rankingExpression(firstphase).rankingScript" -rankprofile[4].fef.property[1].value "tensor(i[10])(i) * attribute(f4)" +rankprofile[4].fef.property[1].value "reduce(tensor(i[10])(i) * attribute(f4), sum)" rankprofile[4].fef.property[2].name "vespa.type.attribute.f2" rankprofile[4].fef.property[2].value "tensor(x[2],y[])" rankprofile[4].fef.property[3].name "vespa.type.attribute.f3" |