aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_4x2x8x15_i16_outu8_sc1_dr1_pc0/test.json
diff options
context:
space:
mode:
Diffstat (limited to 'operators/type_conversion/rescale/rescale_4x2x8x15_i16_outu8_sc1_dr1_pc0/test.json')
-rw-r--r--operators/type_conversion/rescale/rescale_4x2x8x15_i16_outu8_sc1_dr1_pc0/test.json66
1 files changed, 66 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_4x2x8x15_i16_outu8_sc1_dr1_pc0/test.json b/operators/type_conversion/rescale/rescale_4x2x8x15_i16_outu8_sc1_dr1_pc0/test.json
new file mode 100644
index 000000000..94238756a
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_4x2x8x15_i16_outu8_sc1_dr1_pc0/test.json
@@ -0,0 +1,66 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 0,
+ output_zp: 210,
+ multiplier: [
+ 1105242880
+ ],
+ shift: [
+ 39
+ ],
+ scale32: true,
+ double_round: true,
+ per_channel: false
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 4,
+ 2,
+ 8,
+ 15
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 4,
+ 2,
+ 8,
+ 15
+ ],
+ type: "UINT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}