aboutsummaryrefslogtreecommitdiffstats
path: root/model-evaluation/src/test/resources/config/smallconstant/smallconstant.sd
blob: d19cbeeff6f04ce00fc77c0ef6d938eca927c0dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search smallconstant {

    document smallconstant {
    }

    rank-profile my_profile {
        first-phase {
            expression: sum(my_tensor)
        }
        constants {
            my_tensor
                value: { {x:1,y:2}:1, {x:2,y:1}:2 }
                type: tensor(x{},y{})
            }
        }
    }

}