aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/integration/onnx-model/schemas/test.sd
diff options
context:
space:
mode:
authorLester Solbakken <lesters@oath.com>2021-01-27 15:27:50 +0100
committerLester Solbakken <lesters@oath.com>2021-01-27 15:27:50 +0100
commit2a4e18f6a8510d47bc903f37cc50a0b2d304255e (patch)
tree59d68f8d803370d7a194ed87295e5d71df933636 /config-model/src/test/integration/onnx-model/schemas/test.sd
parent3e3de199bd191b08e63bde89471cfee452ae8986 (diff)
Propagate type of transformer token helper functions
Diffstat (limited to 'config-model/src/test/integration/onnx-model/schemas/test.sd')
-rw-r--r--config-model/src/test/integration/onnx-model/schemas/test.sd10
1 files changed, 9 insertions, 1 deletions
diff --git a/config-model/src/test/integration/onnx-model/schemas/test.sd b/config-model/src/test/integration/onnx-model/schemas/test.sd
index eac6f650fef..5b440e80bed 100644
--- a/config-model/src/test/integration/onnx-model/schemas/test.sd
+++ b/config-model/src/test/integration/onnx-model/schemas/test.sd
@@ -99,6 +99,15 @@ search test {
}
}
+ rank-profile test_dynamic_model_with_transformer_tokens {
+ function my_function() {
+ expression: tokenTypeIds(2, attribute(document_field))
+ }
+ first-phase {
+ expression: onnx(dynamic_model){d0:0,d1:1}
+ }
+ }
+
rank-profile test_unbound_model {
function my_function() {
expression: tensor(d0[1],d1[2])(d1)
@@ -108,5 +117,4 @@ search test {
}
}
-
}