diff --git a/CHANGELOG.md b/CHANGELOG.md index 711a051..7d5574b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - support 32bit scale - cmake support - const qualifier to `_dev_t` function arguments +- support for N-EUREKA's dedicated weight memory ### Changed diff --git a/test/conf.toml b/test/conf.toml index 45bb4e1..9e32442 100644 --- a/test/conf.toml +++ b/test/conf.toml @@ -22,20 +22,20 @@ # Ne16TestClasses.py:Ne16TestConf().check_valid() # Input dimensions -in_height = 4 +in_height = 19 in_width = 3 -in_channel = 8 +in_channel = 43 # Output dimensions # - height and width calculated from input dimensions -out_channel = 8 +out_channel = 39 # If depthwise, group == in_channel depthwise = false # Kernel shape -kernel_shape.height = 3 -kernel_shape.width = 3 +kernel_shape.height = 1 +kernel_shape.width = 1 # Stride stride.height = 1 @@ -58,4 +58,6 @@ bias_type = "int32" has_norm_quant = true has_bias = true has_relu = true -wmem = "sram" + +# Weight memory source +wmem = "tcdm" diff --git a/test/tests/test_119/conf.json b/test/tests/test_119/conf.json new file mode 100644 index 0000000..147e969 --- /dev/null +++ b/test/tests/test_119/conf.json @@ -0,0 +1,30 @@ +{ + "in_height": 4, + "in_width": 20, + "in_channel": 80, + "in_type": "uint8", + "out_channel": 25, + "out_type": "int8", + "depthwise": false, + "kernel_shape": { + "height": 3, + "width": 3 + }, + "weight_type": "int8", + "scale_type": "uint8", + "bias_type": "int32", + "stride": { + "height": 1, + "width": 1 + }, + "padding": { + "top": 0, + "bottom": 1, + "left": 1, + "right": 1 + }, + "has_norm_quant": true, + "has_bias": true, + "has_relu": false, + "wmem": "sram" +} diff --git a/test/tests/test_120/conf.json b/test/tests/test_120/conf.json new file mode 100644 index 0000000..32436d3 --- /dev/null +++ b/test/tests/test_120/conf.json @@ -0,0 +1,30 @@ +{ + "in_height": 19, + "in_width": 3, + "in_channel": 43, + "out_channel": 39, + "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": "uint8", + "weight_type": "int8", + "scale_type": "uint8", + "bias_type": "int32", + "has_norm_quant": true, + "has_bias": true, + "has_relu": true, + "wmem": "sram" +} \ No newline at end of file