summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/cfg/application/ml_models/searchdefinitions/test.sd
blob: 328628999d0a72e59ef1410401e9ac9d5748e358 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
        }

    }

}