diff --git "a/build/webgpu/test.json" "b/build/webgpu/test.json" --- "a/build/webgpu/test.json" +++ "b/build/webgpu/test.json" @@ -1,42 +1,53 @@ { "fixtureArrays": { "same_upper_stride2_autopad_input_x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], - "dilated_stride2_padding_saturates_u8_input_x": [0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 128, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0], "per_channel_grouped_requant_oc_indexing_g4_i8_input_x": [-8, -4, 0, 4, 8, 12, -12, 16, -16, 3, -3, 6, -6, 9, -9, 12, 20, -20], "per_channel_grouped_requant_oc_indexing_g4_i8_input_w": [-10, -8, -6, -4, -2, 0, 2, 4, 6, 3, 5, 7, 9, 11, 13, 15, 17, 19], "nchw_dp4a_pointwise_c66_tail_oc32_input_x": [3, 200, 41, 137, 88, 251, 17, 64, 190, 112, 9, 233, 75, 156, 28, 205, 122], "nhwc_dp4a_pointwise_c66_tail_oc32_s8x_u8w_input_x": [-77, 3, 51, -120, 96, -14, 33, -60, 118, -5, 71, -101, 22, 84, -39, 12, -128], - "nhwc_dp4a_pointwise_per_channel_bias_c32_oc16_input_w_zero_point": [-4, -3, -2, -1, 0, 1, 2, 3, 4, 5, -4, -3, -2, -1, 0, 1], "nhwc_channels_x4_group2_3x3_input_w_scale": [0.01, 0.0112, 0.0124, 0.0136, 0.0148, 0.016, 0.0172, 0.0184, 0.0196, 0.0208, 0.022, 0.0232, 0.0244, 0.0256, 0.0268, 0.028], - "qconv-nchw-batch2-tail-k567-perchannel-bias-fixture_input_w_scale": [0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125], - "qconv-nchw-batch2-tail-k567-perchannel-bias-fixture_input_w_zero_point": [0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3], - "qconv-nchw-batch3-dilated-asymmetric-stride2-u8-weights-s8-output-fixture_input_w_scale": [0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125], - "qconv-nchw-batch3-dilated-asymmetric-stride2-u8-weights-s8-output-fixture_input_w_zero_point": [128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125], - "qconv-nchw-signed-group2-control-fixture_input_w_scale": [0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125, 0.01171875, 0.015625, 0.0078125], - "qconv-nchw-signed-group2-control-fixture_input_w_zero_point": [0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3, 5, 0, -3], "qconv-nchw-near-half-dot_input_w": [-128, -128, -128, -128, -128, -128, -128, -128, -128, -128, -128, -128, -128, -128, -128, 80, -44, 9, 62, 115, -87, -34, 19, 72, 125, -77, -24, 29, 82, -120, -67, -14], "qconv-nchw-near-half-bias_input_w": [-127, -90, -53, -16, 21, 58, 95, -123, -86, -49, -12, 25, 62, 99, -119, -82, -44, 9, 62, 115, -87, -34, 19, 72, 125, -77, -24, 29, 82, -120, -67, -14], "nchw_dp4a_im2col_per_channel_3x3_c16_oc24_input_w_scale": [0.01, 0.0113, 0.0126, 0.0139, 0.0152, 0.0165, 0.0178, 0.0191, 0.0204, 0.0217, 0.023, 0.0243, 0.0256, 0.0269, 0.0282, 0.0295, 0.01, 0.0113, 0.0126, 0.0139, 0.0152, 0.0165, 0.0178, 0.0191], - "nchw_dp4a_im2col_per_channel_3x3_c16_oc24_input_w_zero_point": [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6], - "nhwc_dp4a_im2col_bias_3x3_c8_oc16_input_B": [-700, -510, -320, -130, 60, 250, 440, 630, 820, -700, -510, -320, -130, 60, 250, 440], "nhwc_dp4a_im2col_per_channel_3x3_c32_oc32_input_w_scale": [0.01, 0.0109, 0.0118, 0.0127, 0.0136, 0.0145, 0.0154, 0.0163, 0.0172, 0.0181, 0.019, 0.0199, 0.0208, 0.0217, 0.0226, 0.0235, 0.0244, 0.0253, 0.0262, 0.0271, 0.028, 0.0289, 0.0298, 0.01, 0.0109, 0.0118, 0.0127, 0.0136, 0.0145, 0.0154, 0.0163, 0.0172], - "nhwc_dp4a_im2col_per_channel_3x3_c32_oc32_input_w_zero_point": [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, -5, -4, -3, -2, -1, 0, 1, 2], "nhwc_bias_x_uint8_67": [0, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255, 16, 33, 50, 67, 84, 101, 118, 135, 152, 169, 186, 203, 220, 237, 254, 15, 32, 49, 66, 83, 100, 117, 134, 151, 168, 185, 202, 219, 236, 253, 14, 31, 48, 65, 82, 99, 116, 133, 150, 167, 184, 201, 218, 235, 252, 13, 30, 47, 64, 81, 98], "nhwc_bias_w_int8_71": [-128, -99, -70, -41, -12, 17, 46, 75, 104, -123, -94, -65, -36, -7, 22, 51, 80, 109, -118, -89, -60, -31, -2, 27, 56, 85, 114, -113, -84, -55, -26, 3, 32, 61, 90, 119, -108, -79, -50, -21, 8, 37, 66, 95, 124, -103, -74, -45, -16, 13, 42, 71, 100, -127, -98, -69, -40, -11, 18, 47, 76, 105, -122, -93, -64, -35, -6, 23, 52, 81, 110], "nhwc_bias_w_int8_13": [12, -37, 88, -5, 61, -110, 24, 99, -71, 3, -20, 127, -96], "nhwc_bias_x_int8_67": [-128, -111, -94, -77, -60, -43, -26, -9, 8, 25, 42, 59, 76, 93, 110, 127, -112, -95, -78, -61, -44, -27, -10, 7, 24, 41, 58, 75, 92, 109, 126, -113, -96, -79, -62, -45, -28, -11, 6, 23, 40, 57, 74, 91, 108, 125, -114, -97, -80, -63, -46, -29, -12, 5, 22, 39, 56, 73, 90, 107, 124, -115, -98, -81, -64, -47, -30], "nhwc_bias_w_uint8_71": [0, 29, 58, 87, 116, 145, 174, 203, 232, 5, 34, 63, 92, 121, 150, 179, 208, 237, 10, 39, 68, 97, 126, 155, 184, 213, 242, 15, 44, 73, 102, 131, 160, 189, 218, 247, 20, 49, 78, 107, 136, 165, 194, 223, 252, 25, 54, 83, 112, 141, 170, 199, 228, 1, 30, 59, 88, 117, 146, 175, 204, 233, 6, 35, 64, 93, 122, 151, 180, 209, 238], - "nhwc_bias_w_zero_point_uint8_32": [128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125, 133, 128, 125], - "nhwc_bias_B_int32_32_2": [-16384, -8465, -546, 7373, 15292, -9557, -1638, 6281, 14200, -10649, -2730, 5189, 13108, -11741, -3822, 4097, 12016, -12833, -4914, 3005, 10924, -13925, -6006, 1913, 9832, -15017, -7098, 821, 8740, -16109, -8190, -271], - "nhwc_bias_B_int32_16": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "nhwc_bias_nonperiodic_B_int32_32": [-16384, -8465, -546, 7373, 15292, -9557, -1638, 6281, 14200, -10649, -2730, 5189, 13108, -11741, -3822, 4097, 12016, -12833, -4914, 3005, 10924, -13925, -6006, 1913, 9832, -15017, -7098, 821, 8740, -16109, -8190, -271] }, "cases": [ + { + "name": "nhwc_pointwise_half_boundary_per_channel", + "attrs": { "channels_last": 1 }, + "inputs": { + "x": { "dtype": "uint8", "shape": [1, 1, 2, 1], "data": { "kind": "values", "values": [203, 53] } }, + "x_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.02] } }, + "x_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } }, + "w": { "dtype": "int8", "shape": [4, 1, 1, 1], "data": { "kind": "values", "values": [100, -100, 100, -100] } }, + "w_scale": { + "dtype": "float32", + "shape": [4], + "data": { "kind": "values", "values": [0.015, 0.015, 0.015, 0.015] } + }, + "w_zero_point": { "dtype": "int8", "shape": [4], "data": { "kind": "values", "values": [0, 0, 0, 0] } }, + "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.5] } }, + "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } } + }, + "outputs": { + "y": { + "dtype": "uint8", + "shape": [1, 1, 2, 4], + "data": { "kind": "values", "values": [132, 124, 132, 124, 124, 132, 124, 132] } + } + } + }, { "name": "same_upper_stride2_autopad", "provenance": { "source": "ONNX Runtime's CPU provider (QLinearConv-10)", - "notes": "QLinearConv inherits Conv auto_pad semantics. This fixture exercises the exact SAME_UPPER spelling and derived asymmetric bottom/right padding; unit scales and zero points make the expected requantized values equal the integer convolution sums. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "QLinearConv inherits Conv auto_pad semantics. This fixture exercises the exact SAME_UPPER spelling and derived asymmetric bottom/right padding; unit scales and zero points make the expected requantized values equal the integer convolution sums. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "auto_pad": "SAME_UPPER", "kernel_shape": [3, 3], "strides": [2, 2] }, "inputs": { @@ -66,7 +77,7 @@ "name": "same_lower_stride2_autopad", "provenance": { "source": "ONNX Runtime's CPU provider (QLinearConv-10)", - "notes": "ONNX auto_pad SAME_LOWER places the odd padding element at the start of the axis. The nonzero leading pad verifies that execution uses the derived padding rather than unrelated explicit pad attributes. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "ONNX auto_pad SAME_LOWER places the odd padding element at the start of the axis. The nonzero leading pad verifies that execution uses the derived padding rather than unrelated explicit pad attributes. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "auto_pad": "SAME_LOWER", "strides": [2, 2] }, "inputs": { @@ -104,7 +115,7 @@ }, "outputs": { "y": { "dtype": "uint8", "shape": [1, 1, 4, 4] } }, "provenance": { - "notes": "Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider. The layout attribute is spelled explicitly so the explicit and default spellings are both covered." + "notes": "Channel-first layout; expected values come from ONNX Runtime's CPU provider. The layout attribute is spelled explicitly so the explicit and default spellings are both covered." } }, { @@ -126,7 +137,7 @@ "outputs": { "y": { "dtype": "int8", "shape": [1, 1, 2, 2] } }, "attrs": {}, "provenance": { - "notes": "Signed output storage with a nonzero output zero point. The input is not a ramp, so the 2x2 kernel gives each output position its own response. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Signed output storage with a nonzero output zero point. The input is not a ramp, so the 2x2 kernel gives each output position its own response. Channel-first layout; expected values come from ONNX Runtime's CPU provider." } }, { @@ -136,10 +147,7 @@ "x": { "dtype": "uint8", "shape": [1, 1, 5, 5], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/dilated_stride2_padding_saturates_u8_input_x" } - } + "data": { "kind": "cycle", "values": [0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 128, 255] } }, "x_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.05] } }, "x_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } }, @@ -150,16 +158,14 @@ "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } } }, "outputs": { "y": { "dtype": "uint8", "shape": [1, 1, 3, 3], "tolerance": 0 } }, - "provenance": { - "notes": "Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." - } + "provenance": { "notes": "Channel-first layout; expected values come from ONNX Runtime's CPU provider." } }, { "name": "ort_style_multi_channel_four_outputs_pad1_u8", "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.WithBias_2D", - "notes": "Adapts the handwritten 2D multi-channel/multi-output QLinearConv shape without optional bias. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Adapts the handwritten 2D multi-channel/multi-output QLinearConv shape without optional bias. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "pads": [1, 1, 1, 1] }, "inputs": { @@ -187,7 +193,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.WithGroup_2D", - "notes": "Covers grouped convolution with group=3 and stride=2 using symmetric padding supported by the WebGPU manifest. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Covers grouped convolution with group=3, stride=2 and symmetric padding. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "group": 3, "strides": [2, 2], "pads": [1, 1, 1, 1] }, "inputs": { @@ -215,7 +221,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_Depthwise_NoBias", - "notes": "Adapts ORT's depthwise no-bias coverage using scalar quantization and group=in_channels. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Adapts ORT's depthwise no-bias coverage using scalar quantization and group=in_channels. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "group": 3, "pads": [1, 1, 1, 1] }, "inputs": { @@ -239,7 +245,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv1D_U8S8", - "notes": "Compact 1D convolution with symmetric padding. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Compact 1D convolution with symmetric padding. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "pads": [1, 1] }, "inputs": { @@ -266,7 +272,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv1D_S8S8_Pointwise", - "notes": "Compact signed 1D pointwise convolution. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Compact signed 1D pointwise convolution. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "inputs": { "x": { "dtype": "int8", "shape": [1, 1, 4], "data": { "kind": "values", "values": [-3, -2, -1, 0] } }, @@ -292,7 +298,7 @@ "name": "ncw1d_scalar_bias", "provenance": { "source": "ONNX Operators.md, QLinearConv", - "notes": "A one-dimensional quantized convolution carrying a bias, which is the ordinary audio form. The bias is non-zero so the case proves it is applied, not merely that a route exists. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "A one-dimensional quantized convolution carrying a bias, which is the ordinary audio form. The bias is non-zero so the case proves it is applied, not merely accepted. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "kernel_shape": [2], "pads": [0, 0] }, "inputs": { @@ -319,7 +325,7 @@ "name": "ncw1d_per_channel_weight_quantization", "provenance": { "source": "ONNX Operators.md, QLinearConv", - "notes": "One-dimensional convolution uses weights quantized independently per output channel. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "One-dimensional convolution uses weights quantized independently per output channel. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "kernel_shape": [2], "pads": [0, 0] }, "inputs": { @@ -345,7 +351,7 @@ "name": "ncdhw3d_scalar_bias", "provenance": { "source": "ONNX Operators.md, QLinearConv", - "notes": "A three-dimensional quantized convolution includes a nonzero bias. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "A three-dimensional quantized convolution includes a nonzero bias. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "kernel_shape": [2, 2, 2], "pads": [0, 0, 0, 0, 0, 0] }, "inputs": { @@ -381,7 +387,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv3D_U8S8", - "notes": "Compact deterministic adaptation of ORT's 3D uint8-input/int8-weight QLinearConv coverage. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider. The layout attribute is spelled explicitly so the explicit and default spellings are both covered." + "notes": "Compact deterministic adaptation of ORT's 3D uint8-input/int8-weight QLinearConv coverage. Channel-first layout; expected values come from ONNX Runtime's CPU provider. The layout attribute is spelled explicitly so the explicit and default spellings are both covered." }, "attrs": { "strides": [1, 1, 1], "channels_last": 0 }, "inputs": { @@ -412,7 +418,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_PerChannelZeroPoints", - "notes": "Compact mixed uint8 activation / int8 weight per-output-channel quantization case without optional bias. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Compact mixed uint8 activation / int8 weight per-output-channel quantization case without optional bias. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "inputs": { "x": { @@ -443,7 +449,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.WithBias_2D", - "notes": "Compact ORT-valid pointwise adaptation that preserves optional int32 bias semantics. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Compact ORT-valid pointwise adaptation that preserves optional int32 bias semantics. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "inputs": { "x": { "dtype": "uint8", "shape": [1, 1, 2, 2], "data": { "kind": "values", "values": [10, 11, 12, 13] } }, @@ -471,7 +477,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_Requantize_NoBias", - "notes": "ONNX quantized convolution requantization uses ORT's RoundHalfToEven helper; pointwise accumulators +/-1 and +/-5 with y_scale=2 produce exact +/-0.5 and +/-2.5 tie values. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Requantization rounds half to even: pointwise accumulators +/-1 and +/-5 with y_scale=2 give exact ties at +/-0.5 and +/-2.5. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "inputs": { "x": { "dtype": "uint8", "shape": [1, 1, 1, 1], "data": { "kind": "values", "values": [1] } }, @@ -498,7 +504,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_Pointwise", - "notes": "Finite requantized outputs far outside uint8 must saturate; the scalar WebGPU requant pass currently converts to i32 before clamping. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Finite requantized outputs far outside uint8 must saturate rather than wrap. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "inputs": { "x": { "dtype": "uint8", "shape": [1, 1, 1, 1], "data": { "kind": "values", "values": [1] } }, @@ -549,7 +555,7 @@ "outputs": { "y": { "dtype": "uint8", "shape": [2, 6, 3, 5], "tolerance": 0 } }, "attrs": { "channels_last": 0 }, "provenance": { - "notes": "Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider. The layout attribute is spelled explicitly so the explicit and default spellings are both covered." + "notes": "Channel-first layout; expected values come from ONNX Runtime's CPU provider. The layout attribute is spelled explicitly so the explicit and default spellings are both covered." } }, { @@ -575,13 +581,13 @@ "outputs": { "y": { "dtype": "uint8", "shape": [1, 64, 22, 22] } }, "attrs": {}, "provenance": { - "notes": "The dot4 im2col route over 16 input channels. A ten-value weight cycle does not tile the nine taps of a 3x3 kernel, so every output channel carries its own filter, and the output scale resolves the accumulator instead of quantizing every position onto the zero point. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Sixteen input channels, a 3x3 kernel and 64 output channels over a 24x24 input. A ten-value weight cycle does not tile the nine taps of a 3x3 kernel, so every output channel carries its own filter, and the output scale resolves the accumulator instead of quantizing every position onto the zero point. Channel-first layout; expected values come from ONNX Runtime's CPU provider." } }, { "name": "feature_independent_x4_group2_octile4_odd_width_compact", "provenance": { - "notes": "Compact grouped 3x3 QLinearConv with four output channels per group and an odd output width checks exact quantized results at a spatial tail. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Compact grouped 3x3 QLinearConv with four output channels per group and an odd output width checks exact quantized results at a spatial tail. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "group": 2, "strides": [1, 1], "pads": [1, 1, 1, 1] }, "inputs": { @@ -615,7 +621,7 @@ { "name": "dp4a_im2col_bias_tail_k27_baseline_exact", "provenance": { - "notes": "Odd K=27 and int32 bias check exact quantized convolution through the final three reduction elements. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Odd K=27 and int32 bias check exact quantized convolution through the final three reduction elements. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "strides": [1, 1], "pads": [0, 0, 0, 0] }, "inputs": { @@ -647,7 +653,7 @@ "name": "dp4a_im2col_3d_u8s8_b1c4m8_4x8x8_k3", "provenance": { "source": "ONNX QLinearConv-10 volumetric convolution", - "notes": "A 3-D (volumetric) quantized convolution with a 3x3x3 kernel, zero-point-filled spatial padding and per-output-channel quantization checks 4 input and 8 output channels. Carried over from the ai.onnx QLinearConv-10 fixture of the same name; expected values come from ONNX Runtime's CPU provider." + "notes": "A 3-D (volumetric) quantized convolution with a 3x3x3 kernel, zero-point-filled spatial padding and per-output-channel quantization checks 4 input and 8 output channels. Expected values come from ONNX Runtime's CPU provider." }, "attrs": { "pads": [1, 1, 1, 1, 1, 1] }, "inputs": { @@ -692,9 +698,7 @@ "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } } }, "outputs": { "y": { "dtype": "uint8", "shape": [0, 2, 2, 2], "tolerance": 0 } }, - "provenance": { - "notes": "Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." - } + "provenance": { "notes": "Channel-first layout; expected values come from ONNX Runtime's CPU provider." } }, { "name": "per_channel_grouped_requant_oc_indexing_g4_i8", @@ -732,15 +736,13 @@ "y_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [-5] } } }, "outputs": { "y": { "dtype": "int8", "shape": [1, 8, 4, 4], "tolerance": 0 } }, - "provenance": { - "notes": "Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." - } + "provenance": { "notes": "Channel-first layout; expected values come from ONNX Runtime's CPU provider." } }, { "name": "conv3d_depth_dilation2_compact", "provenance": { "source": "ONNX QLinearConv-10 volumetric dilation semantics", - "notes": "A three-dimensional quantized convolution uses a nondefault depth dilation. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "A three-dimensional quantized convolution uses a nondefault depth dilation. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "strides": [1, 1, 1], "dilations": [2, 1, 1] }, "inputs": { @@ -770,7 +772,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_Groups", - "notes": "Adapts QLinearConvTest.Conv2D_U8S8_Groups with two groups and scalar weight quantization. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Adapts QLinearConvTest.Conv2D_U8S8_Groups with two groups and scalar weight quantization. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "group": 2 }, "inputs": { @@ -798,7 +800,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_Dilations", - "notes": "Exercises the ORT-covered mixed uint8 activation / int8 weight quantization path with dilation. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Exercises the ORT-covered mixed uint8 activation / int8 weight quantization path with dilation. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "attrs": { "dilations": [2, 2], "pads": [1, 1, 1, 1] }, "inputs": { @@ -821,7 +823,7 @@ "name": "dp4a_pointwise_per_channel_bias_compact", "provenance": { "source": "ONNX QLinearConv-10 per-output-channel quantization", - "notes": "Locks the common per-channel weight-scale/zero-point plus int32 bias combination on an aligned pointwise DP4A shape. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Pointwise convolution with per-channel weight scales and zero points plus an int32 bias: 4 input and 4 output channels over a 3x3 input. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "inputs": { "x": { @@ -853,7 +855,7 @@ "name": "nhwc_same_upper_stride2_autopad", "provenance": { "source": "ONNX Runtime's CPU provider (QLinearConv-10)", - "notes": "QLinearConv inherits Conv auto_pad semantics. This fixture exercises the exact SAME_UPPER spelling and derived asymmetric bottom/right padding; unit scales and zero points make the expected requantized values equal the integer convolution sums. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. Automatic padding is derived from the spatial axes, which move under the layout attribute." + "notes": "QLinearConv inherits Conv auto_pad semantics. This fixture exercises the exact SAME_UPPER spelling and derived asymmetric bottom/right padding; unit scales and zero points make the expected requantized values equal the integer convolution sums. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. Automatic padding is derived from the spatial axes, which move under the layout attribute." }, "attrs": { "auto_pad": "SAME_UPPER", "kernel_shape": [3, 3], "strides": [2, 2], "channels_last": 1 }, "inputs": { @@ -898,7 +900,7 @@ }, "outputs": { "y": { "dtype": "uint8", "shape": [1, 4, 4, 1] } }, "provenance": { - "notes": "Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. Explicit padding with a wider output than input." + "notes": "Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. Explicit padding with a wider output than input." } }, { @@ -920,7 +922,7 @@ "outputs": { "y": { "dtype": "int8", "shape": [1, 2, 2, 1] } }, "attrs": { "channels_last": 1 }, "provenance": { - "notes": "Signed output storage with a nonzero output zero point. The input is not a ramp, so the 2x2 kernel gives each output position its own response. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. Signed activation, weight and output." + "notes": "Signed output storage with a nonzero output zero point. The input is not a ramp, so the 2x2 kernel gives each output position its own response. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. Signed activation, weight and output." } }, { @@ -930,10 +932,7 @@ "x": { "dtype": "uint8", "shape": [1, 5, 5, 1], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/dilated_stride2_padding_saturates_u8_input_x" } - } + "data": { "kind": "cycle", "values": [0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 128, 255] } }, "x_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.05] } }, "x_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } }, @@ -945,7 +944,7 @@ }, "outputs": { "y": { "dtype": "uint8", "shape": [1, 3, 3, 1], "tolerance": 0 } }, "provenance": { - "notes": "Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. Stride, dilation and padding together in the permuted index map." + "notes": "Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. Stride, dilation and padding together in the permuted index map." } }, { @@ -953,7 +952,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.WithBias_2D", - "notes": "Adapts the handwritten 2D multi-channel/multi-output QLinearConv shape without optional bias. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. Four output channels over two input channels make a wrong channel index visible." + "notes": "Adapts the handwritten 2D multi-channel/multi-output QLinearConv shape without optional bias. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. Four output channels over two input channels make a wrong channel index visible." }, "attrs": { "pads": [1, 1, 1, 1], "channels_last": 1 }, "inputs": { @@ -981,7 +980,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.WithGroup_2D", - "notes": "Covers grouped convolution with group=3 and stride=2 using symmetric padding supported by the WebGPU manifest. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. Three groups make a wrong group index visible." + "notes": "Covers grouped convolution with group=3, stride=2 and symmetric padding. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. Three groups make a wrong group index visible." }, "attrs": { "group": 3, "strides": [2, 2], "pads": [1, 1, 1, 1], "channels_last": 1 }, "inputs": { @@ -1009,7 +1008,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_Depthwise_NoBias", - "notes": "Adapts ORT's depthwise no-bias coverage using scalar quantization and group=in_channels. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. Depthwise convolution over three channels." + "notes": "Adapts ORT's depthwise no-bias coverage using scalar quantization and group=in_channels. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. Depthwise convolution over three channels." }, "attrs": { "group": 3, "pads": [1, 1, 1, 1], "channels_last": 1 }, "inputs": { @@ -1033,7 +1032,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv1D_U8S8", - "notes": "Compact 1D convolution with symmetric padding. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. One spatial axis, so the layout moves a single dimension." + "notes": "Compact 1D convolution with symmetric padding. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. One spatial axis, so the layout moves a single dimension." }, "attrs": { "pads": [1, 1], "channels_last": 1 }, "inputs": { @@ -1060,7 +1059,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv1D_S8S8_Pointwise", - "notes": "Compact signed 1D pointwise convolution. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. One spatial axis with a signed activation and output." + "notes": "Compact signed 1D pointwise convolution. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. One spatial axis with a signed activation and output." }, "inputs": { "x": { "dtype": "int8", "shape": [1, 4, 1], "data": { "kind": "values", "values": [-3, -2, -1, 0] } }, @@ -1086,7 +1085,7 @@ "name": "nhwc_1d_scalar_bias", "provenance": { "source": "ONNX Operators.md, QLinearConv", - "notes": "A one-dimensional quantized convolution carrying a bias, which is the ordinary audio form. The bias is non-zero so the case proves it is applied, not merely that a route exists. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. One spatial axis with a pre-quantized bias." + "notes": "A one-dimensional quantized convolution carrying a bias, which is the ordinary audio form. The bias is non-zero so the case proves it is applied, not merely accepted. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. One spatial axis with a pre-quantized bias." }, "attrs": { "kernel_shape": [2], "pads": [0, 0], "channels_last": 1 }, "inputs": { @@ -1113,7 +1112,7 @@ "name": "nhwc_1d_per_channel", "provenance": { "source": "ONNX Operators.md, QLinearConv", - "notes": "One-dimensional convolution uses weights quantized independently per output channel. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. One spatial axis with per-output-channel weight quantization." + "notes": "One-dimensional convolution uses weights quantized independently per output channel. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. One spatial axis with per-output-channel weight quantization." }, "attrs": { "kernel_shape": [2], "pads": [0, 0], "channels_last": 1 }, "inputs": { @@ -1139,7 +1138,7 @@ "name": "nhwc_3d_scalar_bias", "provenance": { "source": "ONNX Operators.md, QLinearConv", - "notes": "A three-dimensional quantized convolution includes a nonzero bias. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. Three spatial axes with a pre-quantized bias." + "notes": "A three-dimensional quantized convolution includes a nonzero bias. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. Three spatial axes with a pre-quantized bias." }, "attrs": { "kernel_shape": [2, 2, 2], "pads": [0, 0, 0, 0, 0, 0], "channels_last": 1 }, "inputs": { @@ -1175,7 +1174,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv3D_U8S8", - "notes": "Compact deterministic adaptation of ORT's 3D uint8-input/int8-weight QLinearConv coverage. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. Three spatial axes with two input channels." + "notes": "Compact deterministic adaptation of ORT's 3D uint8-input/int8-weight QLinearConv coverage. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. Three spatial axes with two input channels." }, "attrs": { "strides": [1, 1, 1], "channels_last": 1 }, "inputs": { @@ -1205,7 +1204,7 @@ "name": "nhwc_3d_depth_dilation2", "provenance": { "source": "ONNX QLinearConv-10 volumetric dilation semantics", - "notes": "A three-dimensional quantized convolution uses a nondefault depth dilation. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. Three spatial axes with dilation on the depth axis only." + "notes": "A three-dimensional quantized convolution uses a nondefault depth dilation. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. Three spatial axes with dilation on the depth axis only." }, "attrs": { "strides": [1, 1, 1], "dilations": [2, 1, 1], "channels_last": 1 }, "inputs": { @@ -1235,7 +1234,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_PerChannelZeroPoints", - "notes": "Compact mixed uint8 activation / int8 weight per-output-channel quantization case without optional bias. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. Per-output-channel weight zero points with a signed weight." + "notes": "Compact mixed uint8 activation / int8 weight per-output-channel quantization case without optional bias. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. Per-output-channel weight zero points with a signed weight." }, "inputs": { "x": { @@ -1266,7 +1265,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8U8_Groups_PerChannelZeroPoints", - "notes": "Compact grouped 1x1 projection with per-output-channel weight scales and zero-points. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. Two groups with per-output-channel weight zero points." + "notes": "Compact grouped 1x1 projection with per-output-channel weight scales and zero-points. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. Two groups with per-output-channel weight zero points." }, "attrs": { "group": 2, "channels_last": 1 }, "inputs": { @@ -1307,7 +1306,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.WithBias_2D", - "notes": "Compact ORT-valid pointwise adaptation that preserves optional int32 bias semantics. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. A 1x1 kernel with a pre-quantized bias." + "notes": "Compact ORT-valid pointwise adaptation that preserves optional int32 bias semantics. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. A 1x1 kernel with a pre-quantized bias." }, "inputs": { "x": { "dtype": "uint8", "shape": [1, 2, 2, 1], "data": { "kind": "values", "values": [10, 11, 12, 13] } }, @@ -1335,7 +1334,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_Requantize_NoBias", - "notes": "ONNX quantized convolution requantization uses ORT's RoundHalfToEven helper; pointwise accumulators +/-1 and +/-5 with y_scale=2 produce exact +/-0.5 and +/-2.5 tie values. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. Requantization ties land exactly on .5 and must round to even." + "notes": "Requantization rounds half to even: pointwise accumulators +/-1 and +/-5 with y_scale=2 give exact ties at +/-0.5 and +/-2.5. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. Requantization ties land exactly on .5 and must round to even." }, "inputs": { "x": { "dtype": "uint8", "shape": [1, 1, 1, 1], "data": { "kind": "values", "values": [1] } }, @@ -1362,7 +1361,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_Pointwise", - "notes": "Finite requantized outputs far outside uint8 must saturate; the scalar WebGPU requant pass currently converts to i32 before clamping. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. A huge finite requantized value must saturate rather than wrap." + "notes": "Finite requantized outputs far outside uint8 must saturate rather than wrap. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. A huge finite requantized value must saturate rather than wrap." }, "inputs": { "x": { "dtype": "uint8", "shape": [1, 1, 1, 1], "data": { "kind": "values", "values": [1] } }, @@ -1421,7 +1420,7 @@ }, "outputs": { "y": { "dtype": "int8", "shape": [1, 4, 4, 8], "tolerance": 0 } }, "provenance": { - "notes": "Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. Four groups with per-output-channel scales exercise the channel index of the requantization pass." + "notes": "Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. Four groups with per-output-channel scales exercise the channel index of the requantization pass." } }, { @@ -1429,7 +1428,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_Groups", - "notes": "Adapts QLinearConvTest.Conv2D_U8S8_Groups with two groups and scalar weight quantization. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. Two groups over a 2x2 kernel." + "notes": "Adapts QLinearConvTest.Conv2D_U8S8_Groups with two groups and scalar weight quantization. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. Two groups over a 2x2 kernel." }, "attrs": { "group": 2, "channels_last": 1 }, "inputs": { @@ -1457,7 +1456,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_Dilations", - "notes": "Exercises the ORT-covered mixed uint8 activation / int8 weight quantization path with dilation. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. Unsigned activation with a signed weight under dilation and padding." + "notes": "Exercises the ORT-covered mixed uint8 activation / int8 weight quantization path with dilation. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. Unsigned activation with a signed weight under dilation and padding." }, "attrs": { "dilations": [2, 2], "pads": [1, 1, 1, 1], "channels_last": 1 }, "inputs": { @@ -1491,13 +1490,13 @@ }, "outputs": { "y": { "dtype": "uint8", "shape": [0, 2, 2, 2], "tolerance": 0 } }, "provenance": { - "notes": "Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. A zero-sized batch produces no output elements." + "notes": "Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. A zero-sized batch produces no output elements." } }, { "name": "nchw_dp4a_pointwise_c66_tail_oc32", "provenance": { - "notes": "A 1x1 channel-first convolution whose 66 input channels leave a two-lane tail in the packed integer dot product, so the aligned word loop and the single guarded tail word both run." + "notes": "A 1x1 channel-first convolution over a 16x16 input with 66 input channels (two more than a multiple of 4) and 32 output channels." }, "attrs": {}, "inputs": { @@ -1550,10 +1549,7 @@ "w_zero_point": { "dtype": "int8", "shape": [24], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/nchw_dp4a_im2col_per_channel_3x3_c16_oc24_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.032] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } } @@ -1645,20 +1641,14 @@ "w_zero_point": { "dtype": "int8", "shape": [16], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/nhwc_dp4a_pointwise_per_channel_bias_c32_oc16_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [-4, -3, -2, -1, 0, 1, 2, 3, 4, 5] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.102] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [129] } }, "B": { "dtype": "int32", "shape": [16], - "data": { - "kind": "values", - "values": [-900, -640, -380, -120, 140, 400, 660, 920, 1180, -900, -640, -380, -120, 140, 400, 660] - } + "data": { "kind": "cycle", "values": [-900, -640, -380, -120, 140, 400, 660, 920, 1180] } } }, "outputs": { "y": { "dtype": "uint8", "shape": [1, 8, 8, 16], "tolerance": 0 } } @@ -1666,7 +1656,7 @@ { "name": "nhwc_dp4a_im2col_per_channel_3x3_c32_oc32", "provenance": { - "notes": "A 3x3 channels-last convolution: the column matrix is materialized in `(kh, kw, ic)` order so the input channel is the fastest axis of both the activation and the reduction, with per-output-channel weight quantization." + "notes": "A 3x3 channels-last convolution over a 20x20 input with 32 input and 32 output channels and per-output-channel weight quantization." }, "attrs": { "channels_last": 1, "strides": [1, 1] }, "inputs": { @@ -1693,10 +1683,7 @@ "w_zero_point": { "dtype": "int8", "shape": [32], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/nhwc_dp4a_im2col_per_channel_3x3_c32_oc32_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.192] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } } @@ -1706,7 +1693,7 @@ { "name": "nhwc_dp4a_im2col_k_tail_c9_oc32", "provenance": { - "notes": "A 3x3 channels-last convolution whose 81-entry reduction is padded to 84 with the two zero points, so the padded lanes contribute exactly zero while the aligned vec4 path still runs." + "notes": "A 3x3 channels-last convolution over a 20x20 input with 9 input channels (a reduction of 81 elements, not a multiple of 4) and 32 output channels." }, "attrs": { "channels_last": 1, "strides": [1, 1] }, "inputs": { @@ -1755,10 +1742,7 @@ "B": { "dtype": "int32", "shape": [16], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/nhwc_dp4a_im2col_bias_3x3_c8_oc16_input_B" } - } + "data": { "kind": "cycle", "values": [-700, -510, -320, -130, 60, 250, 440, 630, 820] } } }, "outputs": { "y": { "dtype": "uint8", "shape": [1, 6, 6, 16], "tolerance": 0 } } @@ -1792,7 +1776,7 @@ { "name": "nhwc_channels_x4_group2_3x3", "provenance": { - "notes": "A grouped channels-last convolution without integer dot-product support: four adjacent output channels share one group, so the vec4 accumulator's store is one contiguous run." + "notes": "A grouped channels-last 3x3 convolution (2 groups, 8 input and 16 output channels, padding 1, 10x10 input): each group has 4 input and 8 output channels, so every four adjacent output channels share a group." }, "attrs": { "channels_last": 1, "group": 2, "pads": [1, 1, 1, 1] }, "inputs": { @@ -1819,10 +1803,7 @@ "w_zero_point": { "dtype": "int8", "shape": [16], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/nhwc_dp4a_pointwise_per_channel_bias_c32_oc16_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [-4, -3, -2, -1, 0, 1, 2, 3, 4, 5] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.1117] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } } @@ -1988,7 +1969,7 @@ { "name": "nhwc_pointwise_small_generic_route", "provenance": { - "notes": "A channels-last 1x1 convolution with a single output channel, below every vectorized and packed route's contract, so the portable accumulate-and-requantize pair runs." + "notes": "A channels-last 1x1 convolution over a 3x3 input with 5 input channels and a single output channel." }, "attrs": { "channels_last": 1 }, "inputs": { @@ -1999,11 +1980,7 @@ }, "x_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.02] } }, "x_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [127] } }, - "w": { - "dtype": "int8", - "shape": [1, 5, 1, 1], - "data": { "kind": "cycle", "values": [12, -37, 88, -5, 61, -110, 24, 99, -71, 3, -20, 127, -96] } - }, + "w": { "dtype": "int8", "shape": [1, 5, 1, 1], "data": { "kind": "cycle", "values": [12, -37, 88, -5, 61] } }, "w_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.02] } }, "w_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [1] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.08] } }, @@ -2014,7 +1991,7 @@ { "name": "nhwc_channels_x4_group2_3x3_signed", "provenance": { - "notes": "The grouped channels-last portable route with a signed activation, weight and output, which is the signed spelling of the same vec4 accumulator and store." + "notes": "Signed activation, weight and output with the grouped channels-last 3x3 layout (2 groups, 8 input and 16 output channels, padding 1, 10x10 input)." }, "attrs": { "channels_last": 1, "group": 2, "pads": [1, 1, 1, 1] }, "inputs": { @@ -2044,10 +2021,7 @@ "w_zero_point": { "dtype": "int8", "shape": [16], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/nhwc_dp4a_pointwise_per_channel_bias_c32_oc16_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [-4, -3, -2, -1, 0, 1, 2, 3, 4, 5] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.1117] } }, "y_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [-8] } } @@ -2057,7 +2031,7 @@ { "name": "nhwc_depthwise_x4_g8_3x3_signed", "provenance": { - "notes": "The depthwise channels-last portable route with a signed activation, weight and output." + "notes": "Depthwise channels-last 3x3 convolution (group 8 over 8 channels, padding 1, 10x10 input) with signed activation, weight and output." }, "attrs": { "channels_last": 1, "group": 8, "pads": [1, 1, 1, 1] }, "inputs": { @@ -2214,21 +2188,9 @@ "w_scale": { "dtype": "float32", "shape": [128], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/qconv-nchw-batch2-tail-k567-perchannel-bias-fixture_input_w_scale" } - } - }, - "w_zero_point": { - "dtype": "int8", - "shape": [128], - "data": { - "kind": "values", - "values": { - "$ref": "#/fixtureArrays/qconv-nchw-batch2-tail-k567-perchannel-bias-fixture_input_w_zero_point" - } - } + "data": { "kind": "cycle", "values": [0.015625, 0.0078125, 0.01171875] } }, + "w_zero_point": { "dtype": "int8", "shape": [128], "data": { "kind": "cycle", "values": [0, -3, 5] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [2.0] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } }, "B": { "dtype": "int32", "shape": [128], "data": { "kind": "cycle", "values": [-12000, 3, 17000, -5, 71] } } @@ -2257,23 +2219,9 @@ "w_scale": { "dtype": "float32", "shape": [257], - "data": { - "kind": "values", - "values": { - "$ref": "#/fixtureArrays/qconv-nchw-batch3-dilated-asymmetric-stride2-u8-weights-s8-output-fixture_input_w_scale" - } - } - }, - "w_zero_point": { - "dtype": "uint8", - "shape": [257], - "data": { - "kind": "values", - "values": { - "$ref": "#/fixtureArrays/qconv-nchw-batch3-dilated-asymmetric-stride2-u8-weights-s8-output-fixture_input_w_zero_point" - } - } + "data": { "kind": "cycle", "values": [0.015625, 0.0078125, 0.01171875] } }, + "w_zero_point": { "dtype": "uint8", "shape": [257], "data": { "kind": "cycle", "values": [128, 125, 133] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [2.0] } }, "y_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [0] } }, "B": { "dtype": "int32", "shape": [257], "data": { "kind": "cycle", "values": [-12000, 3, 17000, -5, 71] } } @@ -2302,19 +2250,9 @@ "w_scale": { "dtype": "float32", "shape": [32], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/qconv-nchw-signed-group2-control-fixture_input_w_scale" } - } - }, - "w_zero_point": { - "dtype": "int8", - "shape": [32], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/qconv-nchw-signed-group2-control-fixture_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [0.015625, 0.0078125, 0.01171875] } }, + "w_zero_point": { "dtype": "int8", "shape": [32], "data": { "kind": "cycle", "values": [0, -3, 5] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [2.0] } }, "y_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [0] } } }, @@ -2472,21 +2410,9 @@ "w_scale": { "dtype": "float32", "shape": [128], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/qconv-nchw-batch2-tail-k567-perchannel-bias-fixture_input_w_scale" } - } - }, - "w_zero_point": { - "dtype": "int8", - "shape": [128], - "data": { - "kind": "values", - "values": { - "$ref": "#/fixtureArrays/qconv-nchw-batch2-tail-k567-perchannel-bias-fixture_input_w_zero_point" - } - } + "data": { "kind": "cycle", "values": [0.015625, 0.0078125, 0.01171875] } }, + "w_zero_point": { "dtype": "int8", "shape": [128], "data": { "kind": "cycle", "values": [0, -3, 5] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [2.0] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } }, "B": { "dtype": "int32", "shape": [128], "data": { "kind": "cycle", "values": [-12000, 3, 17000, -5, 71] } } @@ -2515,23 +2441,9 @@ "w_scale": { "dtype": "float32", "shape": [257], - "data": { - "kind": "values", - "values": { - "$ref": "#/fixtureArrays/qconv-nchw-batch3-dilated-asymmetric-stride2-u8-weights-s8-output-fixture_input_w_scale" - } - } - }, - "w_zero_point": { - "dtype": "uint8", - "shape": [257], - "data": { - "kind": "values", - "values": { - "$ref": "#/fixtureArrays/qconv-nchw-batch3-dilated-asymmetric-stride2-u8-weights-s8-output-fixture_input_w_zero_point" - } - } + "data": { "kind": "cycle", "values": [0.015625, 0.0078125, 0.01171875] } }, + "w_zero_point": { "dtype": "uint8", "shape": [257], "data": { "kind": "cycle", "values": [128, 125, 133] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [2.0] } }, "y_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [0] } }, "B": { "dtype": "int32", "shape": [257], "data": { "kind": "cycle", "values": [-12000, 3, 17000, -5, 71] } } @@ -2560,19 +2472,9 @@ "w_scale": { "dtype": "float32", "shape": [32], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/qconv-nchw-signed-group2-control-fixture_input_w_scale" } - } - }, - "w_zero_point": { - "dtype": "int8", - "shape": [32], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/qconv-nchw-signed-group2-control-fixture_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [0.015625, 0.0078125, 0.01171875] } }, + "w_zero_point": { "dtype": "int8", "shape": [32], "data": { "kind": "cycle", "values": [0, -3, 5] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [2.0] } }, "y_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [0] } } }, @@ -3476,7 +3378,7 @@ } }, "provenance": { - "notes": "First pixel lands just below a requantization half: exact 250000 * f32(0.02) * f32(0.015) / 2 rounds to 37, while rounded intermediate products can produce the tie 37.5. Remaining pixels vary to exercise indexing and saturation. Every inline output was evaluated with rational arithmetic. ONNX Runtime's CPU provider produces 166 instead of 165 at the first pixel (and 90 instead of 91 for the negative-bias channel); its f32 intermediate lands on a tie. The ORT check records this provider divergence without changing the exact GPU tolerance.", + "notes": "First pixel lands just below a requantization half: exact 250000 * f32(0.02) * f32(0.015) / 2 rounds to 37, while rounded intermediate products can produce the tie 37.5. Remaining pixels vary to exercise indexing and saturation. Every expected output was evaluated with exact rational arithmetic. ONNX Runtime's CPU provider produces 166 instead of 165 at the first pixel; its f32 intermediate lands on a tie.", "source": "Exact rational requantization of integer dot products and stored float32 scales" } }, @@ -3518,7 +3420,7 @@ } }, "provenance": { - "notes": "First pixel lands just below a requantization half: exact 250000 * f32(0.02) * f32(0.015) / 2 rounds to 37, while rounded intermediate products can produce the tie 37.5. Remaining pixels vary to exercise indexing and saturation. Every inline output was evaluated with rational arithmetic. ONNX Runtime's CPU provider produces 166 instead of 165 at the first pixel (and 90 instead of 91 for the negative-bias channel); its f32 intermediate lands on a tie. The ORT check records this provider divergence without changing the exact GPU tolerance.", + "notes": "First pixel lands just below a requantization half: exact 250000 * f32(0.02) * f32(0.015) / 2 rounds to 37, while rounded intermediate products can produce the tie 37.5. Remaining pixels vary to exercise indexing and saturation. Every expected output was evaluated with exact rational arithmetic. ONNX Runtime's CPU provider produces 166 instead of 165 at the first pixel (and 90 instead of 91 for the negative-bias channel); its f32 intermediate lands on a tie.", "source": "Exact rational requantization of integer dot products and stored float32 scales" } }, @@ -3559,7 +3461,7 @@ } }, "provenance": { - "notes": "First pixel lands just below a requantization half: exact 250000 * f32(0.02) * f32(0.015) / 2 rounds to 37, while rounded intermediate products can produce the tie 37.5. Remaining pixels vary to exercise indexing and saturation. Every inline output was evaluated with rational arithmetic. ONNX Runtime's CPU provider produces 166 instead of 165 at the first pixel (and 90 instead of 91 for the negative-bias channel); its f32 intermediate lands on a tie. The ORT check records this provider divergence without changing the exact GPU tolerance.", + "notes": "First pixel lands just below a requantization half: exact 250000 * f32(0.02) * f32(0.015) / 2 rounds to 37, while rounded intermediate products can produce the tie 37.5. Remaining pixels vary to exercise indexing and saturation. Every expected output was evaluated with exact rational arithmetic. ONNX Runtime's CPU provider produces 166 instead of 165 at the first pixel; its f32 intermediate lands on a tie.", "source": "Exact rational requantization of integer dot products and stored float32 scales" } }, @@ -3601,7 +3503,7 @@ } }, "provenance": { - "notes": "First pixel lands just below a requantization half: exact 250000 * f32(0.02) * f32(0.015) / 2 rounds to 37, while rounded intermediate products can produce the tie 37.5. Remaining pixels vary to exercise indexing and saturation. Every inline output was evaluated with rational arithmetic. ONNX Runtime's CPU provider produces 166 instead of 165 at the first pixel (and 90 instead of 91 for the negative-bias channel); its f32 intermediate lands on a tie. The ORT check records this provider divergence without changing the exact GPU tolerance.", + "notes": "First pixel lands just below a requantization half: exact 250000 * f32(0.02) * f32(0.015) / 2 rounds to 37, while rounded intermediate products can produce the tie 37.5. Remaining pixels vary to exercise indexing and saturation. Every expected output was evaluated with exact rational arithmetic. ONNX Runtime's CPU provider produces 166 instead of 165 at the first pixel (and 90 instead of 91 for the negative-bias channel); its f32 intermediate lands on a tie.", "source": "Exact rational requantization of integer dot products and stored float32 scales" } }, @@ -3610,7 +3512,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.WithBias_2D", - "notes": "Compact ORT-valid pointwise adaptation that preserves optional int32 bias semantics. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Compact ORT-valid pointwise adaptation that preserves optional int32 bias semantics. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "inputs": { "x": { "dtype": "uint8", "shape": [1, 1, 2, 2], "data": { "kind": "values", "values": [10, 11, 12, 13] } }, @@ -3664,10 +3566,7 @@ "w_zero_point": { "dtype": "int8", "shape": [24], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/nchw_dp4a_im2col_per_channel_3x3_c16_oc24_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.032] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } } @@ -3701,10 +3600,7 @@ "B": { "dtype": "int32", "shape": [16], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/nhwc_dp4a_im2col_bias_3x3_c8_oc16_input_B" } - } + "data": { "kind": "cycle", "values": [-700, -510, -320, -130, 60, 250, 440, 630, 820] } } }, "outputs": { "y": { "dtype": "uint8", "shape": [1, 6, 6, 16], "tolerance": 0 } }, @@ -3729,7 +3625,7 @@ }, "outputs": { "y": { "dtype": "uint8", "shape": [1, 4, 4, 1] } }, "provenance": { - "notes": "Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The activation generator fills the permuted shape, so the expected values come from the trusted CPU reference rather than being permuted from the channel-first spelling. Explicit padding with a wider output than input." + "notes": "Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values come from the trusted CPU reference for this channels-last input. Explicit padding with a wider output than input." }, "tunables": { "EXACT_MATRIX_MIN_INVOCATIONS": 0 } }, @@ -3738,7 +3634,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_PerChannelZeroPoints", - "notes": "Compact mixed uint8 activation / int8 weight per-output-channel quantization case without optional bias. Channel-first layout, carried over from the ai.onnx QLinearConv-10 fixture of the same name, whose expected values come from ONNX Runtime's CPU provider." + "notes": "Compact mixed uint8 activation / int8 weight per-output-channel quantization case without optional bias. Channel-first layout; expected values come from ONNX Runtime's CPU provider." }, "inputs": { "x": { @@ -3770,7 +3666,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.WithBias_2D", - "notes": "Compact ORT-valid pointwise adaptation that preserves optional int32 bias semantics. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. A 1x1 kernel with a pre-quantized bias." + "notes": "Compact ORT-valid pointwise adaptation that preserves optional int32 bias semantics. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. A 1x1 kernel with a pre-quantized bias." }, "inputs": { "x": { "dtype": "uint8", "shape": [1, 2, 2, 1], "data": { "kind": "values", "values": [10, 11, 12, 13] } }, @@ -3799,7 +3695,7 @@ "provenance": { "source": "onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc", "test": "QLinearConvTest.Conv2D_U8S8_PerChannelZeroPoints", - "notes": "Compact mixed uint8 activation / int8 weight per-output-channel quantization case without optional bias. Channels-last re-expression of the ai.onnx QLinearConv-10 fixture of the same geometry: the activation and the result are permuted into `(N, D..., C)` order while the weight keeps its `(M, C/group, k...)` layout. The expected values are the permuted ones ONNX Runtime's CPU provider produced for the channel-first spelling. Per-output-channel weight zero points with a signed weight." + "notes": "Compact mixed uint8 activation / int8 weight per-output-channel quantization case without optional bias. Channels-last layout: activation and result use `(N, D..., C)` order, while weights retain `(M, C/group, k...)` order. Expected values are the corresponding permutation of ONNX Runtime CPU results for channel-first inputs. Per-output-channel weight zero points with a signed weight." }, "inputs": { "x": { @@ -3850,10 +3746,7 @@ "y": { "dtype": "uint8", "shape": [1, 33, 2, 2], - "data": { - "kind": "values", - "values": [59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170, 208, 200, 152, 104, 59, 78, 124, 170] - }, + "data": { "kind": "cycle", "values": [59, 78, 124, 170, 208, 200, 152, 104] }, "tolerance": 0 } }, @@ -3864,20 +3757,20 @@ "name": "portable-selection-im2col_nchw_row", "provenance": { "source": "Independent integer convolution and float64 requantization reference", - "notes": "A 3x3 NCHW quantized convolution with 33 output channels, one more than a multiple of four, reduces a four-aligned 144-element window (16 channels x 3x3); integer outputs are checked exactly." + "notes": "A channel-first 3x3 quantized convolution (256 x 14x14 uint8 input, one-pixel padding) to 33 output channels with per-output-channel weight scales and zero points; the 2304-term integer sums are requantized and the uint8 outputs checked exactly." }, "attrs": { "strides": [1, 1], "pads": [1, 1, 1, 1] }, "inputs": { "x": { "dtype": "uint8", - "shape": [1, 16, 6, 7], + "shape": [1, 256, 14, 14], "data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/nchw_dp4a_pointwise_c66_tail_oc32_input_x" } } }, "x_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.02] } }, "x_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [127] } }, "w": { "dtype": "int8", - "shape": [33, 16, 3, 3], + "shape": [33, 256, 3, 3], "data": { "kind": "cycle", "values": [12, -37, 88, -5, 61, -110, 24, 99, -71, 3, -20, 127, -96] } }, "w_scale": { @@ -3891,10 +3784,7 @@ "w_zero_point": { "dtype": "int8", "shape": [33], - "data": { - "kind": "cycle", - "values": { "$ref": "#/fixtureArrays/nchw_dp4a_im2col_per_channel_3x3_c16_oc24_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.032] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } } @@ -3902,11 +3792,11 @@ "outputs": { "y": { "dtype": "uint8", - "shape": [1, 33, 6, 7], + "shape": [1, 33, 14, 14], "tolerance": 0, "data": { "kind": "values", - "values": [232, 13, 0, 47, 112, 0, 255, 0, 44, 255, 0, 255, 0, 0, 0, 35, 0, 184, 0, 90, 0, 234, 0, 255, 0, 44, 255, 0, 168, 0, 0, 41, 35, 0, 149, 163, 0, 255, 0, 89, 189, 0, 0, 175, 0, 121, 0, 255, 0, 233, 0, 0, 222, 14, 0, 118, 2, 0, 77, 0, 0, 173, 0, 0, 255, 0, 255, 0, 0, 255, 255, 0, 75, 28, 0, 77, 0, 0, 255, 0, 255, 0, 95, 49, 198, 0, 203, 0, 255, 0, 255, 0, 0, 153, 0, 0, 255, 0, 0, 69, 0, 26, 105, 0, 255, 255, 0, 255, 0, 0, 153, 0, 0, 255, 0, 0, 69, 0, 39, 35, 0, 255, 0, 255, 0, 141, 143, 0, 140, 193, 0, 255, 0, 34, 87, 0, 251, 0, 0, 255, 255, 0, 255, 0, 0, 239, 0, 0, 255, 0, 102, 87, 0, 255, 111, 0, 255, 0, 0, 255, 0, 242, 23, 0, 0, 255, 0, 102, 0, 255, 0, 0, 255, 0, 255, 39, 0, 255, 0, 91, 1, 0, 0, 255, 0, 200, 168, 0, 211, 255, 0, 255, 0, 0, 255, 0, 0, 1, 0, 0, 255, 0, 255, 255, 0, 62, 255, 0, 255, 0, 50, 0, 255, 255, 0, 255, 195, 255, 50, 0, 116, 242, 0, 59, 255, 0, 255, 7, 0, 255, 0, 0, 255, 0, 255, 50, 0, 255, 255, 0, 10, 255, 0, 255, 0, 0, 255, 0, 41, 255, 0, 255, 255, 0, 180, 0, 255, 0, 143, 41, 253, 0, 255, 0, 255, 0, 0, 255, 0, 0, 255, 0, 255, 255, 0, 223, 0, 253, 0, 63, 0, 255, 0, 0, 255, 0, 228, 255, 0, 255, 0, 0, 7, 0, 73, 237, 0, 255, 0, 255, 0, 0, 255, 0, 0, 255, 0, 255, 218, 0, 255, 59, 0, 255, 0, 0, 255, 0, 0, 255, 0, 0, 255, 0, 206, 0, 0, 255, 0, 0, 255, 0, 0, 255, 0, 0, 0, 255, 5, 0, 255, 0, 255, 255, 0, 255, 255, 0, 255, 233, 0, 255, 32, 0, 255, 0, 247, 255, 0, 255, 255, 0, 255, 0, 0, 255, 255, 0, 255, 32, 170, 159, 0, 17, 255, 0, 255, 81, 255, 87, 255, 120, 0, 255, 154, 0, 255, 0, 0, 255, 0, 0, 251, 0, 156, 255, 0, 255, 0, 0, 255, 0, 0, 255, 0, 249, 255, 0, 0, 255, 0, 156, 145, 0, 0, 255, 0, 255, 0, 255, 0, 0, 255, 0, 220, 255, 0, 0, 0, 135, 255, 0, 255, 206, 0, 255, 185, 0, 178, 255, 12, 255, 0, 255, 0, 0, 135, 255, 0, 255, 255, 0, 255, 185, 134, 255, 0, 0, 255, 0, 255, 0, 107, 0, 0, 255, 0, 0, 255, 255, 0, 255, 0, 255, 0, 0, 255, 0, 0, 255, 0, 0, 255, 255, 49, 0, 255, 0, 255, 0, 248, 0, 48, 255, 0, 0, 255, 0, 255, 187, 106, 205, 0, 255, 0, 0, 191, 0, 255, 37, 0, 221, 255, 0, 255, 0, 77, 125, 207, 255, 0, 0, 255, 0, 0, 0, 255, 0, 0, 255, 0, 255, 0, 77, 0, 0, 255, 0, 0, 255, 0, 0, 57, 255, 0, 0, 255, 0, 0, 0, 104, 0, 255, 0, 0, 255, 0, 255, 0, 0, 0, 0, 0, 255, 0, 57, 0, 255, 0, 255, 0, 0, 255, 0, 255, 0, 0, 0, 0, 0, 208, 237, 0, 255, 0, 44, 255, 0, 0, 255, 0, 137, 0, 255, 0, 255, 0, 0, 255, 0, 0, 129, 0, 0, 34, 0, 0, 255, 0, 0, 255, 0, 255, 0, 0, 255, 255, 0, 31, 0, 0, 34, 0, 0, 255, 0, 255, 0, 70, 0, 255, 0, 255, 0, 255, 0, 255, 0, 0, 221, 0, 0, 255, 0, 0, 25, 0, 0, 108, 0, 255, 255, 0, 255, 0, 0, 221, 0, 0, 255, 0, 0, 25, 0, 0, 0, 0, 255, 0, 255, 0, 178, 143, 24, 144, 184, 0, 255, 0, 66, 110, 0, 229, 17, 0, 255, 255, 0, 255, 0, 0, 220, 0, 0, 243, 0, 121, 110, 0, 255, 124, 0, 255, 2, 0, 255, 0, 215, 61, 39, 0, 249, 7, 116, 0, 255, 0, 31, 255, 0, 255, 69, 0, 255, 0, 113, 49, 0, 0, 255, 0, 195, 171, 0, 200, 255, 0, 255, 0, 0, 255, 0, 0, 49, 8, 0, 255, 0, 255, 255, 0, 89, 255, 0, 255, 0, 74, 0, 241, 255, 0, 240, 187, 255, 83, 0, 135, 229, 0, 87, 255, 0, 255, 51, 0, 255, 0, 0, 255, 0, 255, 83, 0, 255, 255, 0, 54, 255, 0, 255, 0, 0, 255, 0, 71, 255, 0, 255, 255, 0, 178, 0, 255, 0, 148, 68, 242, 0, 255, 0, 255, 0, 30, 255, 0, 0, 255, 0, 255, 255, 0, 219, 0, 242, 0, 90, 0, 255, 0, 0, 255, 0, 219, 255, 0, 255, 0, 34, 45, 0, 90, 227, 0, 255, 0, 255, 0, 0, 255, 22, 0, 255, 0, 255, 209, 3, 255, 92, 0, 255, 0, 0, 255, 0, 0, 255, 22, 5, 255, 0, 210, 0, 3, 255, 0, 0, 255, 0, 0, 255, 28, 0, 20, 255, 41, 0, 255, 0, 255, 255, 0, 255, 255, 0, 255, 228, 0, 255, 70, 0, 255, 0, 240, 255, 0, 255, 255, 0, 255, 0, 0, 255, 255, 0, 255, 70, 178, 162, 12, 53, 255, 0, 255, 101, 255, 109, 255, 138, 0, 255, 160, 0, 255, 0, 0, 255, 0, 0, 240, 0, 172, 255, 0, 255, 0, 0, 255, 0, 0, 255, 0, 243, 255, 0, 0, 255, 0, 172, 158, 0, 0, 255, 0, 255, 0, 255, 2, 20, 255, 0, 218, 255, 0, 0, 0, 155, 255, 0, 255, 210, 0, 255, 198, 0, 192, 255, 49, 255, 0, 255, 11, 0, 155, 255, 0, 255, 255, 0, 255, 198, 150, 255, 30, 0, 255, 0, 255, 0, 75, 0, 0, 255, 0, 0, 151, 211, 0, 85, 0, 211, 0, 0, 255, 0, 0, 255, 0, 0, 255, 132, 0, 0, 255, 0, 85, 0, 91, 0, 0, 255, 0, 0, 90, 0, 177, 54, 37, 73, 0, 171, 0, 0, 164, 0, 232, 98, 0, 176, 243, 0, 255, 0, 120, 137, 170, 200, 22, 0, 255, 0, 0, 0, 255, 0, 66, 243, 0, 234, 0, 120, 0, 0, 200, 22, 0, 255, 16, 0, 105, 234, 0, 76, 255, 4, 0, 49, 126, 0, 255, 0, 51, 255, 0, 255, 0, 0, 0, 40, 0, 229, 0, 110, 0, 255, 0, 255, 0, 51, 255, 0, 198, 0, 0, 47, 40, 0, 177, 186, 0, 255, 0, 99, 225, 0, 0, 208, 0, 145, 0, 255, 0, 255, 0, 0, 255, 19, 0, 141, 0, 0, 98, 0, 0, 217, 0, 0, 255, 0, 255, 0, 0, 255, 255, 0, 98, 36, 0, 98, 0, 0, 255, 0, 255, 0, 111, 49, 224, 0, 240, 0, 255, 0, 255, 0, 0, 194, 0, 0, 255, 0, 0, 93, 0, 42, 135, 0, 255, 255, 0, 255, 0, 0, 194, 0, 0, 255, 0, 0, 93, 0, 48, 33, 0, 255, 0, 255, 0, 164, 159, 0, 167, 235, 0, 255, 0, 35, 117, 0, 255, 0, 0, 255, 255, 0, 255, 0, 0, 255, 0, 0, 255, 0, 136, 117, 0, 255, 134, 0, 255, 0, 0, 255, 0, 255, 33, 0, 0, 255, 0, 118, 0, 255, 0, 0, 255, 0, 255, 45, 0, 255, 0, 124, 26, 0, 0, 255, 0, 255, 216, 0, 255, 255, 0, 255, 0, 0, 255, 0, 0, 26, 0, 0, 255, 0, 255, 255, 0, 83, 255, 0, 255, 0, 53, 0, 255, 255, 0, 255, 229, 255, 82, 0, 164, 255, 0, 84, 255, 0, 255, 34, 0, 255, 0, 0, 255, 0, 255, 82, 0, 255, 255, 0, 41, 255, 0, 255, 0, 0, 255, 0, 56, 255, 0, 255, 255, 0, 217, 0, 255, 0, 170, 52, 255, 0, 255, 0, 255, 0, 0, 255, 0, 0, 255, 0, 255, 255, 0, 255, 0, 255, 0, 91, 0, 255, 0, 0, 255, 0, 255, 255, 0, 255, 0, 6, 23, 0] + "values": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 172, 0, 0, 0, 86, 0, 0, 43, 0, 0, 0, 255, 0, 0, 0, 0, 0, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 255, 0, 0, 0, 86, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 172, 0, 0, 0, 86, 0, 0, 0, 0, 0, 0, 133, 0, 0, 0, 0, 0, 172, 0, 0, 0, 86, 0, 0, 0, 55, 0, 0, 255, 0, 0, 0, 0, 0, 172, 0, 0, 0, 86, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 172, 0, 206, 0, 7, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 255, 255, 255, 0, 0, 0, 235, 0, 255, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 61, 0, 177, 0, 0, 0, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 255, 0, 177, 0, 0, 0, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 255, 0, 177, 0, 0, 0, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 255, 0, 177, 0, 0, 0, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 255, 0, 0, 0, 0, 0, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 255, 0, 177, 0, 0, 0, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 255, 0, 177, 0, 0, 0, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 255, 0, 177, 0, 0, 0, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 255, 0, 177, 0, 0, 0, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 255, 207, 0, 0, 19, 0, 255, 0, 48, 0, 255, 0, 0, 0, 0, 80, 255, 0, 212, 0, 255, 0, 255, 255, 255, 255, 0, 0, 0, 255, 255, 0, 255, 255, 64, 0, 0, 0, 255, 255, 255, 255, 255, 0, 0, 0, 255, 255, 0, 255, 255, 64, 0, 0, 0, 255, 255, 255, 255, 255, 0, 0, 0, 255, 255, 0, 255, 255, 64, 0, 0, 0, 4, 255, 255, 255, 255, 0, 0, 0, 255, 255, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 0, 0, 0, 255, 255, 0, 255, 255, 64, 0, 0, 0, 255, 255, 255, 255, 255, 0, 0, 0, 0, 255, 0, 255, 255, 64, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 255, 255, 0, 255, 255, 64, 0, 0, 0, 255, 0, 0, 255, 255, 0, 0, 0, 255, 255, 0, 255, 255, 64, 0, 255, 33, 255, 255, 255, 255, 255, 0, 0, 0, 255, 255, 0, 255, 181, 255, 0, 0, 0, 255, 255, 255, 255, 255, 0, 0, 0, 255, 255, 0, 255, 255, 64, 0, 0, 0, 255, 255, 255, 255, 255, 0, 255, 0, 255, 255, 255, 255, 255, 0, 255, 0, 255, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 255, 0, 182, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 255, 0, 182, 0, 0, 0, 66, 0, 0, 0, 145, 0, 0, 0, 0, 255, 0, 255, 0, 182, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 255, 0, 182, 0, 104, 0, 0, 131, 98, 0, 62, 0, 0, 0, 193, 0, 0, 199, 0, 0, 0, 255, 0, 66, 0, 255, 0, 0, 15, 0, 94, 31, 255, 255, 0, 0, 0, 0, 0, 255, 0, 234, 0, 0, 0, 255, 0, 0, 193, 255, 0, 0, 0, 0, 0, 0, 255, 0, 234, 0, 0, 0, 255, 0, 255, 193, 255, 0, 0, 0, 0, 0, 0, 255, 0, 255, 0, 0, 0, 255, 0, 255, 193, 255, 0, 0, 0, 0, 0, 0, 255, 0, 234, 0, 0, 0, 255, 0, 255, 193, 255, 0, 0, 255, 0, 0, 0, 255, 0, 234, 0, 0, 0, 255, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 234, 0, 0, 0, 255, 0, 255, 193, 255, 0, 0, 0, 0, 0, 0, 255, 0, 234, 0, 111, 0, 255, 0, 255, 193, 255, 0, 0, 0, 0, 0, 0, 255, 0, 234, 0, 0, 0, 255, 0, 255, 193, 255, 0, 0, 0, 255, 221, 0, 255, 0, 234, 0, 0, 0, 255, 0, 255, 193, 255, 0, 0, 0, 0, 0, 0, 255, 0, 234, 0, 0, 0, 255, 0, 255, 115, 255, 126, 0, 0, 0, 34, 77, 0, 255, 0, 142, 0, 0, 112, 255, 255, 255, 0, 233, 0, 255, 0, 255, 255, 58, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 135, 0, 255, 0, 255, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 135, 0, 255, 23, 255, 255, 155, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 108, 0, 255, 0, 255, 255, 155, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 135, 0, 255, 0, 255, 255, 155, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 135, 0, 255, 0, 255, 255, 155, 0, 0, 255, 0, 255, 0, 255, 0, 255, 0, 135, 0, 255, 0, 255, 255, 155, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 135, 0, 255, 0, 255, 255, 155, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 135, 0, 255, 0, 255, 255, 155, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 135, 0, 255, 0, 255, 255, 155, 255, 0, 135, 0, 255, 0, 255, 0, 255, 0, 135, 0, 255, 0, 255, 255, 255, 80, 0, 255, 0, 255, 234, 255, 114, 255, 0, 0, 253, 138, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 124, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 198, 0, 0, 0, 255, 136, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 57, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0] } } }, @@ -3933,10 +3823,7 @@ "y": { "dtype": "uint8", "shape": [1, 33, 2, 2], - "data": { - "kind": "values", - "values": [98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110] - }, + "data": { "kind": "cycle", "values": [98, 102, 106, 110] }, "tolerance": 0 } }, @@ -3967,10 +3854,7 @@ "y": { "dtype": "uint8", "shape": [1, 6, 7, 2], - "data": { - "kind": "values", - "values": [59, 208, 78, 200, 124, 152, 170, 104, 59, 208, 78, 200, 124, 152, 170, 104, 59, 208, 78, 200, 124, 152, 170, 104, 59, 208, 78, 200, 124, 152, 170, 104, 59, 208, 78, 200, 124, 152, 170, 104, 59, 208, 78, 200, 124, 152, 170, 104, 59, 208, 78, 200, 124, 152, 170, 104, 59, 208, 78, 200, 124, 152, 170, 104, 59, 208, 78, 200, 124, 152, 170, 104, 59, 208, 78, 200, 124, 152, 170, 104, 59, 208, 78, 200] - }, + "data": { "kind": "cycle", "values": [59, 208, 78, 200, 124, 152, 170, 104] }, "tolerance": 0 } }, @@ -3998,10 +3882,7 @@ "y": { "dtype": "uint8", "shape": [1, 6, 7, 1], - "data": { - "kind": "values", - "values": [98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102, 106, 110, 98, 102] - }, + "data": { "kind": "cycle", "values": [98, 102, 106, 110] }, "tolerance": 0 } }, @@ -4011,20 +3892,20 @@ { "name": "portable-selection-im2col_nhwc_column", "provenance": { - "notes": "A 3x3 NHWC quantized convolution materializes the column matrix in (kh, kw, ic) order, with per-output-channel weight quantization, over 32 four-aligned input and output channels reducing a 20x20 input to an 18x18 output." + "notes": "A channels-last 3x3 quantized convolution (16x16x256 uint8 input, no padding) to 32 output channels with per-output-channel weight scales and zero points; the 2304-term integer sums are requantized and the uint8 outputs checked exactly." }, "attrs": { "channels_last": 1, "strides": [1, 1] }, "inputs": { "x": { "dtype": "uint8", - "shape": [1, 20, 20, 32], + "shape": [1, 16, 16, 256], "data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/nchw_dp4a_pointwise_c66_tail_oc32_input_x" } } }, "x_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.02] } }, "x_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [127] } }, "w": { "dtype": "int8", - "shape": [32, 32, 3, 3], + "shape": [32, 256, 3, 3], "data": { "kind": "cycle", "values": [12, -37, 88, -5, 61, -110, 24, 99, -71, 3, -20, 127, -96] } }, "w_scale": { @@ -4038,15 +3919,12 @@ "w_zero_point": { "dtype": "int8", "shape": [32], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/nhwc_dp4a_im2col_per_channel_3x3_c32_oc32_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.192] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } } }, - "outputs": { "y": { "dtype": "uint8", "shape": [1, 18, 18, 32], "tolerance": 0 } }, + "outputs": { "y": { "dtype": "uint8", "shape": [1, 14, 14, 32], "tolerance": 0 } }, "tunables": { "EXACT_MATRIX_MIN_INVOCATIONS": 0 } }, { @@ -4390,7 +4268,7 @@ } }, "provenance": { - "notes": "The finite scales overflow a binary32 intermediate but their binary64 quotient is well defined and saturates. Bit-derived pre-operation range guards must reject this path even on an implementation that returns a finite overflow result." + "notes": "The finite scales overflow a float32 intermediate, but their float64 quotient is well defined and saturates the output. Grouped (2 groups) channels-last int8 convolution with a 1x1 kernel and an int32 bias." } }, { @@ -4443,19 +4321,9 @@ "w_scale": { "dtype": "float32", "shape": [32], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/qconv-nchw-signed-group2-control-fixture_input_w_scale" } - } - }, - "w_zero_point": { - "dtype": "int8", - "shape": [32], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/qconv-nchw-signed-group2-control-fixture_input_w_zero_point" } - } + "data": { "kind": "cycle", "values": [0.015625, 0.0078125, 0.01171875] } }, + "w_zero_point": { "dtype": "int8", "shape": [32], "data": { "kind": "cycle", "values": [0, -3, 5] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [2.0] } }, "y_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [0] } }, "B": { @@ -4466,14 +4334,14 @@ }, "outputs": { "y": { "dtype": "int8", "shape": [2, 5, 7, 32], "tolerance": 0, "relTolerance": 0 } }, "provenance": { - "notes": "Compact signed grouped/per-channel route with batch two. Width seven exercises a partial spatial tile. Distinct channel-block bias values expose accidental reuse of the first bias quadruple." + "notes": "Signed grouped (2 groups) channels-last 3x3 convolution with per-channel quantization and an int32 bias, over 2 batches of 5x7 with 16 input and 32 output channels, padding 1. The bias values differ between each group of four output channels, so reusing the first four values shows. Its tunable sets a target of 1 workgroup." }, "tunables": { "NHWC_BIAS_TARGET_WORKGROUPS": 1 } }, { "name": "nhwc_bias_depthwise_per_channel_tile3_tail", "provenance": { - "notes": "Per-channel unit-depthwise quantization. Width ten leaves a one-column output tail. Distinct channel-block bias values expose accidental reuse of the first bias quadruple. Independent integer convolution and explicit binary64 nearest-even rounding pin all 800 output bytes. At NHWC[0,0,3,7], accumulator 4750 times 6442451/2^30 is 28.5 + 133/2^29, requiring output 157; ORT rounds a float32 intermediate onto 28.5 and returns 156." + "notes": "Per-channel unit-depthwise quantization (group 8 over 8 channels, 10x10 input, padding 1) with an int32 bias. The bias values differ between each group of four channels, so reusing the first four values shows. Expected values use an integer convolution and exact binary64 nearest-even rounding for all 800 output bytes. At NHWC[0,0,3,7], accumulator 4750 times 6442451/2^30 is 28.5 + 133/2^29, requiring output 157; ONNX Runtime rounds a float32 intermediate onto 28.5 and returns 156. Its tunables set a workgroup size of 64 and a target of 1 workgroup." }, "attrs": { "channels_last": 1, "group": 8, "pads": [1, 1, 1, 1] }, "inputs": { @@ -4540,22 +4408,15 @@ "w_scale": { "dtype": "float32", "shape": [32], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/qconv-nchw-signed-group2-control-fixture_input_w_scale" } - } - }, - "w_zero_point": { - "dtype": "uint8", - "shape": [32], - "data": { "kind": "values", "values": { "$ref": "#/fixtureArrays/nhwc_bias_w_zero_point_uint8_32" } } + "data": { "kind": "cycle", "values": [0.015625, 0.0078125, 0.01171875] } }, + "w_zero_point": { "dtype": "uint8", "shape": [32], "data": { "kind": "cycle", "values": [128, 125, 133] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [2.0] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } }, "B": { "dtype": "int32", "shape": [32], - "data": { "kind": "values", "values": { "$ref": "#/fixtureArrays/nhwc_bias_B_int32_32_2" } } + "data": { "kind": "values", "values": { "$ref": "#/fixtureArrays/nhwc_bias_nonperiodic_B_int32_32" } } } }, "outputs": { "y": { "dtype": "uint8", "shape": [2, 17, 19, 32], "tolerance": 0, "relTolerance": 0 } }, @@ -4584,15 +4445,11 @@ "w_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [0] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [2.0] } }, "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [128] } }, - "B": { - "dtype": "int32", - "shape": [16], - "data": { "kind": "values", "values": { "$ref": "#/fixtureArrays/nhwc_bias_B_int32_16" } } - } + "B": { "dtype": "int32", "shape": [16], "data": { "kind": "constant", "value": 0 } } }, "outputs": { "y": { "dtype": "uint8", "shape": [2, 5, 7, 16], "tolerance": 0, "relTolerance": 0 } }, "provenance": { - "notes": "An explicit zero bias is neutral but must still be applied as a present bias. Scalar quantization, batch two and unsigned output; the bias-absent sibling already exists." + "notes": "An explicit zero bias is neutral but must still be applied as a present bias. Scalar quantization, batch two and unsigned output." } }, { @@ -4707,7 +4564,7 @@ }, "outputs": { "y": { "dtype": "int8", "shape": [1, 1, 4, 8], "tolerance": 0, "relTolerance": 0 } }, "provenance": { - "notes": "A grouped (group=2) NHWC pointwise quantized convolution with 8 output channels (4 per group) and a per-channel bias produces a 32-element (1x1x4x8) output, one row taller than its 24-element sibling." + "notes": "A grouped (group=2) NHWC pointwise quantized convolution with 8 output channels (4 per group) and a per-channel bias produces a 32-element (1x1x4x8) output." } }, { @@ -4729,28 +4586,207 @@ "w_scale": { "dtype": "float32", "shape": [32], - "data": { - "kind": "values", - "values": { "$ref": "#/fixtureArrays/qconv-nchw-signed-group2-control-fixture_input_w_scale" } - } - }, - "w_zero_point": { - "dtype": "uint8", - "shape": [32], - "data": { "kind": "values", "values": { "$ref": "#/fixtureArrays/nhwc_bias_w_zero_point_uint8_32" } } + "data": { "kind": "cycle", "values": [0.015625, 0.0078125, 0.01171875] } }, + "w_zero_point": { "dtype": "uint8", "shape": [32], "data": { "kind": "cycle", "values": [128, 125, 133] } }, "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [2.0] } }, "y_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [0] } }, "B": { "dtype": "int32", "shape": [32], - "data": { "kind": "values", "values": { "$ref": "#/fixtureArrays/nhwc_bias_B_int32_32_2" } } + "data": { "kind": "values", "values": { "$ref": "#/fixtureArrays/nhwc_bias_nonperiodic_B_int32_32" } } } }, "outputs": { "y": { "dtype": "int8", "shape": [2, 17, 38, 32], "tolerance": 0, "relTolerance": 0 } }, "provenance": { "notes": "Grouped biased convolution with unsigned activation/weights, signed output, per-channel scales/zero points, stride two, dilation two and asymmetric padding." } + }, + { + "name": "native16_exact_positive_deep_bias", + "attrs": { "channels_last": 1, "group": 1, "pads": [0, 0, 0, 0], "strides": [1, 1], "dilations": [1, 1] }, + "inputs": { + "x": { "dtype": "uint8", "shape": [1, 1, 64, 1024], "data": { "kind": "constant", "value": 255 } }, + "x_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "constant", "value": 1.0 } }, + "x_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "constant", "value": 0 } }, + "w": { "dtype": "uint8", "shape": [64, 1024, 1, 1], "data": { "kind": "constant", "value": 255 } }, + "w_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "constant", "value": 1.0 } }, + "w_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "constant", "value": 0 } }, + "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "constant", "value": 1.0 } }, + "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "constant", "value": 128 } }, + "B": { + "dtype": "int32", + "shape": [64], + "data": { "kind": "cycle", "values": [-66585577, -66585576, -66585578, -66585574] } + } + }, + "outputs": { + "y": { + "dtype": "uint8", + "shape": [1, 1, 64, 64], + "data": { "kind": "cycle", "values": [151, 152, 150, 154] }, + "tolerance": 0, + "relTolerance": 0 + } + }, + "provenance": { + "source": "Independent exact integer convolution with cancellation bias.", + "notes": "Centered byte products accumulate as wrapping int32 totals before bias and exact unit-scale requantization. Four distinct channel residuals distinguish integer accumulation from a long float32 dot while exercising channel addressing." + } + }, + { + "name": "native16_exact_negative_deep_bias", + "attrs": { "channels_last": 1, "group": 1, "pads": [0, 0, 0, 0], "strides": [1, 1], "dilations": [1, 1] }, + "inputs": { + "x": { "dtype": "uint8", "shape": [1, 1, 64, 1024], "data": { "kind": "constant", "value": 255 } }, + "x_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "constant", "value": 1.0 } }, + "x_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "constant", "value": 0 } }, + "w": { "dtype": "int8", "shape": [64, 1024, 1, 1], "data": { "kind": "constant", "value": -127 } }, + "w_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "constant", "value": 1.0 } }, + "w_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "constant", "value": 0 } }, + "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "constant", "value": 1.0 } }, + "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "constant", "value": 128 } }, + "B": { + "dtype": "int32", + "shape": [64], + "data": { "kind": "cycle", "values": [33162217, 33162218, 33162216, 33162220] } + } + }, + "outputs": { + "y": { + "dtype": "uint8", + "shape": [1, 1, 64, 64], + "data": { "kind": "cycle", "values": [105, 106, 104, 108] }, + "tolerance": 0, + "relTolerance": 0 + } + }, + "provenance": { + "source": "Independent exact integer convolution with cancellation bias.", + "notes": "Centered byte products accumulate as wrapping int32 totals before bias and exact unit-scale requantization. Four distinct channel residuals distinguish integer accumulation from a long float32 dot while exercising channel addressing." + } + }, + { + "name": "native16_exact_perchannel_deep_bias", + "attrs": { "channels_last": 1, "group": 1, "pads": [0, 0, 0, 0], "strides": [1, 1], "dilations": [1, 1] }, + "inputs": { + "x": { "dtype": "uint8", "shape": [1, 1, 64, 1024], "data": { "kind": "constant", "value": 255 } }, + "x_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "constant", "value": 1.0 } }, + "x_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "constant", "value": 0 } }, + "w": { "dtype": "uint8", "shape": [64, 1024, 1, 1], "data": { "kind": "constant", "value": 255 } }, + "w_scale": { "dtype": "float32", "shape": [64], "data": { "kind": "constant", "value": 1.0 } }, + "w_zero_point": { "dtype": "uint8", "shape": [64], "data": { "kind": "cycle", "values": [0, 1, 127, 255] } }, + "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "constant", "value": 1.0 } }, + "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "constant", "value": 128 } }, + "B": { + "dtype": "int32", + "shape": [64], + "data": { "kind": "cycle", "values": [-66585577, -66324456, -33423338, 26] } + } + }, + "outputs": { + "y": { + "dtype": "uint8", + "shape": [1, 1, 64, 64], + "data": { "kind": "cycle", "values": [151, 152, 150, 154] }, + "tolerance": 0, + "relTolerance": 0 + } + }, + "provenance": { + "source": "Independent exact integer convolution with cancellation bias.", + "notes": "Centered byte products accumulate as wrapping int32 totals before bias and exact unit-scale requantization. Four distinct channel residuals distinguish integer accumulation from a long float32 dot while exercising channel addressing." + } + }, + { + "name": "pointwise_nhwc_prepared_row_and_reduction_tails", + "attrs": { "channels_last": 1, "group": 1, "pads": [0, 0, 0, 0], "strides": [1, 1], "dilations": [1, 1] }, + "inputs": { + "x": { "dtype": "uint8", "shape": [1, 1, 40, 65], "data": { "kind": "cycle", "values": [0, 1, 3, 2] } }, + "x_scale": { "dtype": "float32", "shape": [], "data": { "kind": "constant", "value": 0.0625 } }, + "x_zero_point": { "dtype": "uint8", "shape": [], "data": { "kind": "constant", "value": 2 } }, + "w": { "dtype": "int8", "shape": [33, 65, 1, 1], "data": { "kind": "cycle", "values": [-2, 1, 0, 2, -1] } }, + "w_scale": { "dtype": "float32", "shape": [33], "data": { "kind": "cycle", "values": [0.125] } }, + "w_zero_point": { "dtype": "int8", "shape": [33], "data": { "kind": "cycle", "values": [-1, 0, 1] } }, + "y_scale": { "dtype": "float32", "shape": [], "data": { "kind": "constant", "value": 0.125 } }, + "y_zero_point": { "dtype": "uint8", "shape": [], "data": { "kind": "constant", "value": 128 } }, + "B": { "dtype": "int32", "shape": [33], "data": { "kind": "cycle", "values": [-3, 7, 0, 5] } } + }, + "outputs": { + "y": { + "dtype": "uint8", + "shape": [1, 1, 40, 33], + "tolerance": 0, + "relTolerance": 0, + "data": { + "kind": "cycle", + "values": [126, 129, 130, 126, 128, 131, 126, 129, 130, 127, 128, 131, 126, 129, 130, 126, 128, 131, 126, 129, 130, 127, 128, 131, 126, 129, 130, 126, 128, 131, 126, 129, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 129, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 129, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 129, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130, 126, 128, 130] + } + } + }, + "provenance": { + "notes": "Pointwise channels-last quantized convolution over 40 pixels with 65 input channels and 33 output channels (neither a multiple of 4), per-channel weight zero points and a varied bias. Centered bytes are summed independently as integers, rounded to nearest even at the dyadic scale and clamped after adding the output zero point." + } + }, + { + "name": "pointwise_nchw_prepared_row_and_reduction_tails", + "attrs": { "channels_last": 0, "group": 1, "pads": [0, 0, 0, 0], "strides": [1, 1], "dilations": [1, 1] }, + "inputs": { + "x": { "dtype": "uint8", "shape": [1, 65, 1, 33], "data": { "kind": "cycle", "values": [0, 1, 3, 2] } }, + "x_scale": { "dtype": "float32", "shape": [], "data": { "kind": "constant", "value": 0.0625 } }, + "x_zero_point": { "dtype": "uint8", "shape": [], "data": { "kind": "constant", "value": 2 } }, + "w": { "dtype": "int8", "shape": [40, 65, 1, 1], "data": { "kind": "cycle", "values": [-2, 1, 0, 2, -1] } }, + "w_scale": { "dtype": "float32", "shape": [40], "data": { "kind": "cycle", "values": [0.125] } }, + "w_zero_point": { "dtype": "int8", "shape": [40], "data": { "kind": "cycle", "values": [-1, 0, 1] } }, + "y_scale": { "dtype": "float32", "shape": [], "data": { "kind": "constant", "value": 0.125 } }, + "y_zero_point": { "dtype": "uint8", "shape": [], "data": { "kind": "constant", "value": 128 } }, + "B": { "dtype": "int32", "shape": [40], "data": { "kind": "cycle", "values": [-3, 7, 0, 5] } } + }, + "outputs": { + "y": { + "dtype": "uint8", + "shape": [1, 40, 1, 33], + "tolerance": 0, + "relTolerance": 0, + "data": { + "kind": "cycle", + "values": [126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 128, 128, 128, 129, 130, 130, 129, 130, 130, 130, 129, 130, 130, 130, 129, 130, 130, 130, 129, 130, 130, 130, 129, 130, 130, 130, 129, 130, 130, 130, 129, 130, 130, 130, 129, 130, 130, 127, 126, 126, 126, 127, 126, 126, 126, 127, 126, 126, 126, 127, 126, 126, 126, 127, 126, 126, 126, 127, 126, 126, 126, 127, 126, 126, 126, 127, 126, 126, 126, 127, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131, 130, 130, 130, 131] + } + } + }, + "provenance": { + "notes": "Pointwise channel-first quantized convolution over 33 pixels with 65 input channels and 40 output channels, per-channel weight zero points and a varied bias. Centered bytes are summed independently as integers, rounded to nearest even at the dyadic scale and clamped after adding the output zero point." + } + }, + { + "name": "nhwc_pointwise_last_input_channel", + "attrs": { "channels_last": 1 }, + "inputs": { + "x": { + "dtype": "uint8", + "shape": [1, 1, 3, 5], + "data": { "kind": "values", "values": [0, 0, 0, 0, 5, 0, 0, 0, 0, 9, 0, 0, 0, 0, 15] } + }, + "x_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [1.0] } }, + "x_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [0] } }, + "w": { + "dtype": "int8", + "shape": [2, 5, 1, 1], + "data": { "kind": "values", "values": [0, 0, 0, 0, 2, 0, 0, 0, 0, -3] } + }, + "w_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [1.0] } }, + "w_zero_point": { "dtype": "int8", "shape": [1], "data": { "kind": "values", "values": [0] } }, + "y_scale": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [1.0] } }, + "y_zero_point": { "dtype": "uint8", "shape": [1], "data": { "kind": "values", "values": [64] } } + }, + "outputs": { + "y": { + "dtype": "uint8", + "shape": [1, 1, 3, 2], + "tolerance": 0, + "data": { "kind": "values", "values": [74, 49, 82, 37, 94, 19] } + } + } } ] }