diff options
author | Lester Solbakken <lesters@oath.com> | 2021-01-27 15:27:50 +0100 |
---|---|---|
committer | Lester Solbakken <lesters@oath.com> | 2021-01-27 15:27:50 +0100 |
commit | 2a4e18f6a8510d47bc903f37cc50a0b2d304255e (patch) | |
tree | 59d68f8d803370d7a194ed87295e5d71df933636 /config-model/src/test/integration | |
parent | 3e3de199bd191b08e63bde89471cfee452ae8986 (diff) |
Propagate type of transformer token helper functions
Diffstat (limited to 'config-model/src/test/integration')
-rw-r--r-- | config-model/src/test/integration/onnx-model/schemas/test.sd | 10 |
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 { } } - } |