diff options
Diffstat (limited to 'operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue')
5 files changed, 169 insertions, 0 deletions
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/Conformance-result-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/Conformance-result-0.json new file mode 100644 index 000000000..bf30725b4 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/Conformance-result-0.json @@ -0,0 +1,41 @@ +{ + "type": "int32", + "data": [ + -1, + 1, + 0, + 0, + 0, + 0, + -1, + 1, + 0, + 1, + -1, + 0, + 0, + 0, + 0, + -1, + 0, + -1, + 0, + 0, + 0, + 0, + 0, + 1, + -1, + 0, + -1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/desc.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/desc.json @@ -0,0 +1,22 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/input-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/input-0.json new file mode 100644 index 000000000..926a70d8f --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/input-0.json @@ -0,0 +1,41 @@ +{ + "type": "int32", + "data": [ + -1760731031, + 1166308736, + 955026138, + 845124117, + -163736050, + 932259212, + -1454826632, + 1720657018, + 4487274, + 1881416401, + -1493308149, + -11467236, + 843189590, + -18786742, + -231257036, + -1433599550, + -511009943, + -1121990345, + -852499086, + 788988336, + 559559476, + 460405168, + -593510319, + 1974364612, + -1771030112, + -676067476, + -1640652158, + -691731087, + 1983835363, + -574393735, + 1754840704, + -21192835, + 857735608, + -182890504, + -1005580859, + 1134856859 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/input-1.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/input-1.json new file mode 100644 index 000000000..2aa31187b --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 31 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/test.json new file mode 100644 index 000000000..af0afc64f --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/test.json @@ -0,0 +1,59 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |