aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_23_i32_outi8_sc0_dr0_pc1/test.json
blob: f525f6ed229d92321aaad6f81c7027f9553a7959 (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
{
  version: {
    _major: 0,
    _minor: 41,
    _patch: 0,
    _draft: true
  },
  blocks: [
    {
      name: "main",
      operators: [
        {
          op: "RESCALE",
          attribute_type: "RescaleAttribute",
          attribute: {
            input_zp: 0,
            output_zp: -110,
            multiplier: [
              17373,
              27107,
              19013,
              25376,
              20674,
              28907,
              20921,
              17109,
              23355,
              29320,
              22680,
              30648,
              22245,
              26102,
              17085,
              20124,
              32290,
              27593,
              21640,
              22480,
              28063,
              20380,
              25068
            ],
            shift: [
              40,
              38,
              38,
              38,
              38,
              38,
              38,
              38,
              38,
              39,
              39,
              39,
              40,
              38,
              39,
              40,
              40,
              38,
              39,
              38,
              38,
              41,
              38
            ],
            scale32: false,
            double_round: false,
            per_channel: true
          },
          inputs: [
            "input-0"
          ],
          outputs: [
            "result-0"
          ]
        }
      ],
      tensors: [
        {
          name: "input-0",
          shape: [
            23
          ],
          type: "INT32"
        },
        {
          name: "result-0",
          shape: [
            23
          ],
          type: "INT8"
        }
      ],
      inputs: [
        "input-0"
      ],
      outputs: [
        "result-0"
      ]
    }
  ]
}