From dfe0c4fb6cf4b2f50f5d136a6b5531cab9f89b94 Mon Sep 17 00:00:00 2001 From: Luka Macan Date: Tue, 13 Feb 2024 14:47:44 +0100 Subject: [PATCH] Add tests with 32bit scale --- test/tests/test_116/conf.json | 29 +++++++++++++++++++++++++++++ test/tests/test_117/conf.json | 29 +++++++++++++++++++++++++++++ test/tests/test_118/conf.json | 29 +++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 test/tests/test_116/conf.json create mode 100644 test/tests/test_117/conf.json create mode 100644 test/tests/test_118/conf.json diff --git a/test/tests/test_116/conf.json b/test/tests/test_116/conf.json new file mode 100644 index 0000000..4858679 --- /dev/null +++ b/test/tests/test_116/conf.json @@ -0,0 +1,29 @@ +{ + "in_height": 3, + "in_width": 3, + "in_channel": 2, + "out_channel": 2, + "padding": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + }, + "kernel_shape": { + "height": 1, + "width": 1 + }, + "depthwise": false, + "stride": { + "height": 1, + "width": 1 + }, + "in_type": "int8", + "out_type": "int8", + "weight_type": "int8", + "scale_type": "uint32", + "bias_type": "int32", + "has_norm_quant": true, + "has_bias": true, + "has_relu": false +} \ No newline at end of file diff --git a/test/tests/test_117/conf.json b/test/tests/test_117/conf.json new file mode 100644 index 0000000..79beac9 --- /dev/null +++ b/test/tests/test_117/conf.json @@ -0,0 +1,29 @@ +{ + "in_height": 10, + "in_width": 10, + "in_channel": 10, + "out_channel": 10, + "padding": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + }, + "kernel_shape": { + "height": 1, + "width": 1 + }, + "depthwise": false, + "stride": { + "height": 1, + "width": 1 + }, + "in_type": "uint8", + "out_type": "int8", + "weight_type": "int8", + "scale_type": "uint32", + "bias_type": "int32", + "has_norm_quant": true, + "has_bias": true, + "has_relu": false +} \ No newline at end of file diff --git a/test/tests/test_118/conf.json b/test/tests/test_118/conf.json new file mode 100644 index 0000000..16616eb --- /dev/null +++ b/test/tests/test_118/conf.json @@ -0,0 +1,29 @@ +{ + "in_height": 10, + "in_width": 10, + "in_channel": 128, + "out_channel": 128, + "padding": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + }, + "kernel_shape": { + "height": 1, + "width": 1 + }, + "depthwise": false, + "stride": { + "height": 1, + "width": 1 + }, + "in_type": "uint8", + "out_type": "int8", + "weight_type": "int8", + "scale_type": "uint32", + "bias_type": "int32", + "has_norm_quant": true, + "has_bias": true, + "has_relu": false +} \ No newline at end of file