def METHOD_NAME(sizes):
    arr_np = list(np.arange(np.prod(size)).reshape(size) for size in sizes)
    arr_num = list(num.arange(np.prod(size)).reshape(size) for size in sizes)
    b = np.broadcast(*arr_np)
    c = num.broadcast(*arr_num)
    attrs = ["index", "nd", "ndim", "numiter", "shape", "size"]
    err_arrs = []
    # test attributes
    for attr in attrs:
        if getattr(b, attr) != getattr(c, attr):
            err_arrs.append([attr, getattr(b, attr), getattr(c, attr)])
    _check_result(f"np.broadcast({sizes})", err_arrs)