aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_24x31_i16_outu8_sc1_dr1_pc1/test.json
diff options
context:
space:
mode:
Diffstat (limited to 'operators/type_conversion/rescale/rescale_24x31_i16_outu8_sc1_dr1_pc1/test.json')
-rw-r--r--operators/type_conversion/rescale/rescale_24x31_i16_outu8_sc1_dr1_pc1/test.json122
1 files changed, 122 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_24x31_i16_outu8_sc1_dr1_pc1/test.json b/operators/type_conversion/rescale/rescale_24x31_i16_outu8_sc1_dr1_pc1/test.json
new file mode 100644
index 000000000..51d4670bb
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_24x31_i16_outu8_sc1_dr1_pc1/test.json
@@ -0,0 +1,122 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 0,
+ output_zp: 39,
+ multiplier: [
+ 1286045696,
+ 1714056960,
+ 1135324800,
+ 1406797056,
+ 1471500416,
+ 1098648192,
+ 1645916928,
+ 2044121600,
+ 1738707968,
+ 1817982848,
+ 1963192448,
+ 1204059904,
+ 1196176512,
+ 1534918528,
+ 1326809600,
+ 1745543424,
+ 1739776256,
+ 1302902016,
+ 1918965888,
+ 1828214016,
+ 1975735168,
+ 1155238912,
+ 2116175872,
+ 1753184000,
+ 1706836736,
+ 1433614080,
+ 2111551872,
+ 1896499584,
+ 1592443520,
+ 1500685824,
+ 1572148992
+ ],
+ shift: [
+ 38,
+ 38,
+ 42,
+ 40,
+ 39,
+ 39,
+ 39,
+ 38,
+ 41,
+ 39,
+ 39,
+ 39,
+ 39,
+ 38,
+ 38,
+ 38,
+ 39,
+ 38,
+ 38,
+ 38,
+ 38,
+ 39,
+ 38,
+ 38,
+ 38,
+ 38,
+ 38,
+ 39,
+ 38,
+ 38,
+ 38
+ ],
+ scale32: true,
+ double_round: true,
+ per_channel: true
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 24,
+ 31
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 24,
+ 31
+ ],
+ type: "UINT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}