aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_26_i16_outi8_sc1_dr0_pc1/test.json
diff options
context:
space:
mode:
Diffstat (limited to 'operators/type_conversion/rescale/rescale_26_i16_outi8_sc1_dr0_pc1/test.json')
-rw-r--r--operators/type_conversion/rescale/rescale_26_i16_outi8_sc1_dr0_pc1/test.json110
1 files changed, 110 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_26_i16_outi8_sc1_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_26_i16_outi8_sc1_dr0_pc1/test.json
new file mode 100644
index 000000000..30c822df3
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_26_i16_outi8_sc1_dr0_pc1/test.json
@@ -0,0 +1,110 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 0,
+ output_zp: -106,
+ multiplier: [
+ 1514331264,
+ 1506215040,
+ 1767610112,
+ 1711572864,
+ 2126843008,
+ 1178635776,
+ 1403466112,
+ 1927278592,
+ 1687570688,
+ 1879229056,
+ 2095075712,
+ 1874450304,
+ 1651850240,
+ 1896639744,
+ 1408907904,
+ 1241604480,
+ 1577810176,
+ 1216379136,
+ 1183067520,
+ 1779291008,
+ 1525857536,
+ 1826410112,
+ 1699403008,
+ 1291836928,
+ 2088179072,
+ 1117484544
+ ],
+ shift: [
+ 40,
+ 40,
+ 38,
+ 39,
+ 38,
+ 40,
+ 38,
+ 39,
+ 39,
+ 38,
+ 38,
+ 38,
+ 40,
+ 40,
+ 38,
+ 39,
+ 38,
+ 38,
+ 38,
+ 38,
+ 38,
+ 43,
+ 42,
+ 38,
+ 39,
+ 39
+ ],
+ scale32: true,
+ double_round: false,
+ per_channel: true
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 26
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 26
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}