def METHOD_NAME():
    inp = np.random.randn(1, 16, 16).astype(np.float64)
    out = np.zeros_like(inp, dtype=inp.dtype)
    rr = np.array([0, 0, inp.nbytes])
    origin = np.array([0, 0, 0])
    shape = np.array([1, 16, 16])
    ds_shape = np.array([256, 16, 16])
    inp_swapped = inp.reshape((-1,)).byteswap()
    decode_swap_8(
        inp=inp_swapped.view(dtype=np.uint8),
        out=out.reshape((1, -1)),
        idx=0,
        native_dtype=inp.dtype,
        rr=rr,
        origin=origin,
        shape=shape,
        ds_shape=ds_shape,
    )
    print(hexdump(inp_swapped[:2]))
    print(hexdump(inp.reshape((-1,))[:2]))
    print(hexdump(out.reshape((-1,))[:2]))
    assert np.allclose(inp, out)