aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi8_sc1_dr0_pc1/test.json
diff options
context:
space:
mode:
Diffstat (limited to 'operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi8_sc1_dr0_pc1/test.json')
-rw-r--r--operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi8_sc1_dr0_pc1/test.json78
1 files changed, 78 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi8_sc1_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi8_sc1_dr0_pc1/test.json
new file mode 100644
index 000000000..c425a77c7
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi8_sc1_dr0_pc1/test.json
@@ -0,0 +1,78 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 122,
+ output_zp: 37,
+ multiplier: [
+ 1182445952,
+ 1791909248,
+ 1124044160,
+ 1948191488,
+ 1885471104,
+ 1744847104,
+ 1107884416
+ ],
+ shift: [
+ 34,
+ 31,
+ 31,
+ 31,
+ 31,
+ 31,
+ 31
+ ],
+ scale32: true,
+ double_round: false,
+ per_channel: true
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 12,
+ 10,
+ 7
+ ],
+ type: "UINT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 12,
+ 10,
+ 7
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}