aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_24x31_i16_outUINT16_sc1_dr0_pc1/test.json
blob: 0a81e970766b10923ba0ca41a58210353a6ccd12 (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
  version: {
    _major: 0,
    _minor: 31,
    _patch: 0,
    _draft: true
  },
  blocks: [
    {
      name: "main",
      operators: [
        {
          op: "RESCALE",
          attribute_type: "RescaleAttribute",
          attribute: {
            input_zp: 0,
            output_zp: 32768,
            multiplier: [
              1911381504,
              1651537280,
              1083894016,
              1852403200,
              1636449920,
              1621355008,
              1555141376,
              1890514816,
              1688688512,
              1929131136,
              1173042560,
              1755026816,
              1769960704,
              1401838080,
              1808778880,
              1817564672,
              1556807040,
              1749604992,
              2035384448,
              1215952896,
              1552747392,
              1359558656,
              1489443968,
              1957203840,
              1638692352,
              1671682048,
              1850844288,
              1667874688,
              1221001728,
              1533896704,
              1786512128
            ],
            shift: [
              30,
              31,
              30,
              30,
              30,
              31,
              35,
              30,
              30,
              31,
              30,
              32,
              31,
              32,
              32,
              30,
              31,
              30,
              31,
              33,
              31,
              32,
              30,
              30,
              30,
              30,
              30,
              30,
              30,
              30,
              31
            ],
            scale32: true,
            double_round: false,
            per_channel: true
          },
          inputs: [
            "input-0"
          ],
          outputs: [
            "result-0"
          ]
        }
      ],
      tensors: [
        {
          name: "input-0",
          shape: [
            24,
            31
          ],
          type: "INT16"
        },
        {
          name: "result-0",
          shape: [
            24,
            31
          ],
          type: "UINT16"
        }
      ],
      inputs: [
        "input-0"
      ],
      outputs: [
        "result-0"
      ]
    }
  ]
}