def METHOD_NAME(inp, fold_ratio, num_channels):
    if fold_ratio == 1:
        return inp
    dec0_u = np.zeros((num_channels, inp.shape[1]*fold_ratio, inp.shape[2]*fold_ratio))
    print(inp.shape)
    print(dec0_u.shape)
    for i in range(fold_ratio):
        for j in range(fold_ratio):
            dec0_u[:, i::fold_ratio, j::fold_ratio] = inp[num_channels*(i*fold_ratio + j):num_channels*(i*fold_ratio + j + 1), :, :]
    return dec0_u