def METHOD_NAME(
    kernel, stride, dilation, padding, ifm_channels, ifm_layout, ofm_layout
):
    if ifm_layout == "NHWC":
        ifm_shape = (1, 12, 15, ifm_channels)
    else:
        ifm_shape = (1, 12, 1 + ((ifm_channels - 1) // 16), 15, 16)
    ofm_channels = 8
    kernel_h, kernel_w = kernel
    ifm = te.placeholder(ifm_shape, dtype="int8")
    weight = te.placeholder((ofm_channels, kernel_h, kernel_w, ifm_channels), dtype="int8")
    scale_bias = te.placeholder((ofm_channels, 10), dtype="uint8")
    lut = te.placeholder((), dtype="uint8")
    out = conv2d_compute(
        ifm=ifm,
        weight=weight,
        scale_bias=scale_bias,
        lut=lut,
        ifm_scale=1,
        ifm_zero_point=0,
        ofm_scale=1,
        ofm_zero_point=0,
        weight_zero_point=0,
        strides=stride,
        padding=padding,
        dilation=dilation,
        activation="NONE",
        clip_min=0,
        clip_max=0,
        upscale="NONE",
        rounding_mode="TFL",
        ifm_layout=ifm_layout,
        ofm_layout=ofm_layout,
    )
    (
        ifm_transform,
        ifm_offset,
        weight_transform,
        weight_offset,
        scale_bias_transform,
        scale_bias_offset,
    ) = make_matrices(
        "ethosu_conv2d",
        kernel,
        stride,
        padding,
        ifm_layout,
        ofm_layout,
        dilation,
        ifm_channels,
        ofm_channels,
    )
    device_config = cs.EthosuDeviceConfig("ethos-u55-256")
    part = match_ethosu_conv2d(out, device_config)
    assert isinstance(part, cs.EthosuPart)
    assert len(part.propagators) == 3
    assert part.propagators[0].transform == ifm_transform
    assert part.propagators[0].offset == ifm_offset
    assert part.propagators[1].transform == weight_transform
    assert part.propagators[1].offset == weight_offset
    assert part.propagators[2].transform == scale_bias_transform
    assert part.propagators[2].offset == scale_bias_offset