summaryrefslogtreecommitdiffstats
path: root/config-model/src/test
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-04-25 21:08:27 +0200
committerJon Bratseth <bratseth@gmail.com>2022-04-25 21:08:27 +0200
commitf0c9c51a9e705cb725447e587c32c82a788469fa (patch)
treec619de15332e3ec93d5c077fff2ab8faa0c3b1db /config-model/src/test
parentaee703d3192a157c6fc837a547f546f5dd863984 (diff)
Test input inheritance
Diffstat (limited to 'config-model/src/test')
-rw-r--r--config-model/src/test/derived/neuralnet_noqueryprofile/neuralnet.sd6
-rw-r--r--config-model/src/test/derived/neuralnet_noqueryprofile/rank-profiles.cfg12
2 files changed, 17 insertions, 1 deletions
diff --git a/config-model/src/test/derived/neuralnet_noqueryprofile/neuralnet.sd b/config-model/src/test/derived/neuralnet_noqueryprofile/neuralnet.sd
index 4241e9dab85..9069f59bbe3 100644
--- a/config-model/src/test/derived/neuralnet_noqueryprofile/neuralnet.sd
+++ b/config-model/src/test/derived/neuralnet_noqueryprofile/neuralnet.sd
@@ -69,7 +69,7 @@ search neuralnet {
}
- rank-profile defaultRankProfile inherits default {
+ rank-profile default {
inputs {
query(W_0) tensor(x[9],hidden[9])
@@ -80,6 +80,10 @@ search neuralnet {
query(b_out) tensor(out[1])
}
+ }
+
+ rank-profile defaultRankProfile inherits default {
+
constants {
maxSignedSixtyFourBitInteger: 9223372036854775807
}
diff --git a/config-model/src/test/derived/neuralnet_noqueryprofile/rank-profiles.cfg b/config-model/src/test/derived/neuralnet_noqueryprofile/rank-profiles.cfg
index 9c3cfd28b9a..f5134dd15f9 100644
--- a/config-model/src/test/derived/neuralnet_noqueryprofile/rank-profiles.cfg
+++ b/config-model/src/test/derived/neuralnet_noqueryprofile/rank-profiles.cfg
@@ -1,4 +1,16 @@
rankprofile[].name "default"
+rankprofile[].fef.property[].name "vespa.type.query.W_0"
+rankprofile[].fef.property[].value "tensor(hidden[9],x[9])"
+rankprofile[].fef.property[].name "vespa.type.query.b_0"
+rankprofile[].fef.property[].value "tensor(hidden[9])"
+rankprofile[].fef.property[].name "vespa.type.query.W_1"
+rankprofile[].fef.property[].value "tensor(hidden[9],out[9])"
+rankprofile[].fef.property[].name "vespa.type.query.b_1"
+rankprofile[].fef.property[].value "tensor(out[9])"
+rankprofile[].fef.property[].name "vespa.type.query.W_out"
+rankprofile[].fef.property[].value "tensor(out[9])"
+rankprofile[].fef.property[].name "vespa.type.query.b_out"
+rankprofile[].fef.property[].value "tensor(out[1])"
rankprofile[].name "unranked"
rankprofile[].fef.property[].name "vespa.rank.firstphase"
rankprofile[].fef.property[].value "value(0)"