def onp_fun(x, kwargs):
    if (pad_width.size == 0):
        return x
    return onp.pad(x, pad_width, mode=mode, **kwargs)
def onp_fun(x, kwargs):
    if (pad_width.size == 0):
        return x
    return onp.pad(x, pad_width, mode=mode, **kwargs)