summaryrefslogtreecommitdiffstats
path: root/model-evaluation/src/test/resources/config/smallconstant/smallconstant.sd
blob: c41f0af4c4842745bcfce6d5725fdef06fb375b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2018 Yahoo Holdings. 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{})
            }
        }
    }

}