aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json
diff options
context:
space:
mode:
Diffstat (limited to 'operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json')
-rw-r--r--operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json114
1 files changed, 114 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json
new file mode 100644
index 000000000..ff5d48bc3
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json
@@ -0,0 +1,114 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 19,
+ output_zp: 39,
+ multiplier: [
+ 30275,
+ 22175,
+ 29043,
+ 22891,
+ 27988,
+ 19371,
+ 22306,
+ 25797,
+ 20840,
+ 16532,
+ 28672,
+ 27890,
+ 22793,
+ 23789,
+ 31031,
+ 32688,
+ 18718,
+ 27280,
+ 25823,
+ 24485,
+ 17162,
+ 26653,
+ 27311,
+ 27243,
+ 30305,
+ 25982,
+ 27642,
+ 29578
+ ],
+ shift: [
+ 18,
+ 20,
+ 19,
+ 17,
+ 19,
+ 15,
+ 15,
+ 16,
+ 16,
+ 15,
+ 15,
+ 15,
+ 19,
+ 17,
+ 17,
+ 17,
+ 15,
+ 16,
+ 19,
+ 16,
+ 15,
+ 18,
+ 15,
+ 19,
+ 15,
+ 18,
+ 15,
+ 15
+ ],
+ scale32: false,
+ double_round: false,
+ per_channel: true
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 28
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 28
+ ],
+ type: "UINT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}