aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi8_sc1_dr1_pc1/test.json
diff options
context:
space:
mode:
Diffstat (limited to 'operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi8_sc1_dr1_pc1/test.json')
-rw-r--r--operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi8_sc1_dr1_pc1/test.json84
1 files changed, 84 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi8_sc1_dr1_pc1/test.json b/operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi8_sc1_dr1_pc1/test.json
new file mode 100644
index 000000000..04aafce13
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi8_sc1_dr1_pc1/test.json
@@ -0,0 +1,84 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: -100,
+ output_zp: 92,
+ multiplier: [
+ 1971338496,
+ 1161779072,
+ 2002441984,
+ 1399990272,
+ 1640179456,
+ 1510391808,
+ 1942356992,
+ 1989654912,
+ 1583473152
+ ],
+ shift: [
+ 33,
+ 34,
+ 31,
+ 35,
+ 34,
+ 33,
+ 31,
+ 31,
+ 32
+ ],
+ scale32: true,
+ double_round: true,
+ per_channel: true
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 7,
+ 7,
+ 4,
+ 2,
+ 9
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 7,
+ 7,
+ 4,
+ 2,
+ 9
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}