summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/cfg/application/ml_models/searchdefinitions/test.sd
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/cfg/application/ml_models/searchdefinitions/test.sd')
-rw-r--r--config-model/src/test/cfg/application/ml_models/searchdefinitions/test.sd41
1 files changed, 41 insertions, 0 deletions
diff --git a/config-model/src/test/cfg/application/ml_models/searchdefinitions/test.sd b/config-model/src/test/cfg/application/ml_models/searchdefinitions/test.sd
new file mode 100644
index 00000000000..328628999d0
--- /dev/null
+++ b/config-model/src/test/cfg/application/ml_models/searchdefinitions/test.sd
@@ -0,0 +1,41 @@
+search test {
+
+ document test {
+ field argument type tensor(d0[],d1[784]) {
+ indexing: attribute
+ }
+ }
+
+ rank-profile test {
+
+ function input() {
+ expression: attribute(argument)
+ }
+
+ function Placeholder() {
+ expression: attribute(argument)
+ }
+
+ function mnist_tensorflow() {
+ expression: tensorflow("mnist/saved")
+ }
+
+ function mnist_softmax_tensorflow() {
+ expression: tensorflow("mnist_softmax/saved")
+ }
+
+ function mnist_softmax_onnx() {
+ expression: onnx("mnist_softmax")
+ }
+
+ function my_xgboost() {
+ expression: xgboost("xgboost_2_2")
+ }
+
+ first-phase {
+ expression: mnist_tensorflow + mnist_softmax_tensorflow + mnist_softmax_onnx + my_xgboost
+ }
+
+ }
+
+} \ No newline at end of file