aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json
blob: 5563cd684d3b84c38d3b55ed61288ee586f9a8ca (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
{
  version: {
    _major: 0,
    _minor: 70,
    _patch: 0,
    _draft: true
  },
  regions: [
    {
      name: "main",
      blocks: [
        {
          name: "main",
          operators: [
            {
              op: "RESCALE",
              attribute_type: "RescaleAttribute",
              attribute: {
                input_zp: 19,
                output_zp: 39,
                multiplier: [
                  30275,
                  22175,
                  29043,
                  22891,
                  27988,
                  19371,
                  22306,
                  25797,
                  20840,
                  16532,
                  28672,
                  27890,
                  22793,
                  23789,
                  31031,
                  32688,
                  18718,
                  27280,
                  25823,
                  24485,
                  17162,
                  26653,
                  27311,
                  27243,
                  30305,
                  25982,
                  27642,
                  29578
                ],
                shift: [
                  18,
                  20,
                  19,
                  17,
                  19,
                  15,
                  15,
                  16,
                  16,
                  15,
                  15,
                  15,
                  19,
                  17,
                  17,
                  17,
                  15,
                  16,
                  19,
                  16,
                  15,
                  18,
                  15,
                  19,
                  15,
                  18,
                  15,
                  15
                ],
                scale32: false,
                double_round: false,
                per_channel: true
              },
              inputs: [
                "input-0"
              ],
              outputs: [
                "result-0"
              ]
            }
          ],
          tensors: [
            {
              name: "input-0",
              shape: [
                28
              ],
              type: "INT8"
            },
            {
              name: "result-0",
              shape: [
                28
              ],
              type: "UINT8"
            }
          ],
          inputs: [
            "input-0"
          ],
          outputs: [
            "result-0"
          ]
        }
      ]
    }
  ]
}