aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json
blob: 4fe4d70735a1a8b5449fa4f1144b308b68ba8cba (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
{
  version: {
    _major: 0,
    _minor: 70,
    _patch: 0,
    _draft: true
  },
  regions: [
    {
      name: "main",
      blocks: [
        {
          name: "main",
          operators: [
            {
              op: "RESCALE",
              attribute_type: "RescaleAttribute",
              attribute: {
                input_zp: -119,
                output_zp: -10,
                multiplier: [
                  1433411968,
                  1626317824,
                  1977500544,
                  1676139648,
                  1656328064,
                  1644710400,
                  1480598784,
                  1905391488,
                  1496870144,
                  1680531584,
                  1564826112,
                  1432951552,
                  2064876928,
                  1089857920,
                  1766615936,
                  1110386048,
                  1151389568
                ],
                shift: [
                  33,
                  33,
                  33,
                  31,
                  31,
                  32,
                  33,
                  34,
                  34,
                  32,
                  35,
                  32,
                  31,
                  31,
                  31,
                  33,
                  32
                ],
                scale32: true,
                double_round: true,
                per_channel: true
              },
              inputs: [
                "input-0"
              ],
              outputs: [
                "result-0"
              ]
            }
          ],
          tensors: [
            {
              name: "input-0",
              shape: [
                19,
                17
              ],
              type: "INT8"
            },
            {
              name: "result-0",
              shape: [
                19,
                17
              ],
              type: "INT8"
            }
          ],
          inputs: [
            "input-0"
          ],
          outputs: [
            "result-0"
          ]
        }
      ]
    }
  ]
}