def METHOD_NAME(params):
    """Utility function to generate useful ids for shape_parameters"""
    dims = lambda vals: "x".join(map(str, vals))
    config = {}
    for param in params:
        act_shape, wgt_shape, inp_stride = param
        name = f"nhwc{dims(act_shape)}-hwio{dims(wgt_shape)}-stride{dims(inp_stride)}"
        config[name] = param
    return config