Skip to content

Commit

Permalink
Add tests with 32bit scale
Browse files Browse the repository at this point in the history
  • Loading branch information
lukamac committed Feb 13, 2024
1 parent faadd4e commit dfe0c4f
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 0 deletions.
29 changes: 29 additions & 0 deletions test/tests/test_116/conf.json
Original file line number Diff line number Diff line change
@@ -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
}
29 changes: 29 additions & 0 deletions test/tests/test_117/conf.json
Original file line number Diff line number Diff line change
@@ -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
}
29 changes: 29 additions & 0 deletions test/tests/test_118/conf.json
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit dfe0c4f

Please sign in to comment.