aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json
diff options
context:
space:
mode:
Diffstat (limited to 'operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json')
-rw-r--r--operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json94
1 files changed, 94 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json
new file mode 100644
index 000000000..a10052ff9
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json
@@ -0,0 +1,94 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ 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"
+ ]
+ }
+ ]
+}