aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_19x17_i8_outINT32_sc1_dr1_pc1/test.json
blob: 725540d5ad7055ec338cef47167776efa1eb99b2 (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
{
  version: {
    _major: 0,
    _minor: 31,
    _patch: 0,
    _draft: true
  },
  blocks: [
    {
      name: "main",
      operators: [
        {
          op: "RESCALE",
          attribute_type: "RescaleAttribute",
          attribute: {
            input_zp: -115,
            output_zp: 0,
            multiplier: [
              1192031616,
              1244491648,
              1465403392,
              2060822016,
              1264151808,
              1531419520,
              1091470336,
              1928705024,
              1771105408,
              1738792448,
              1834221056,
              1400588416,
              1133974528,
              1660750848,
              1176696576,
              1555617536,
              1674802688
            ],
            shift: [
              8,
              10,
              8,
              11,
              11,
              8,
              11,
              10,
              8,
              8,
              8,
              9,
              8,
              8,
              10,
              8,
              11
            ],
            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: "INT32"
        }
      ],
      inputs: [
        "input-0"
      ],
      outputs: [
        "result-0"
      ]
    }
  ]
}