def _slice(input_, begin, size, name=None):
    slices = tuple((builtin_slice(b, ((b + s) if (s != (- 1)) else None)) for (b, s) in zip(begin, size)))
    return input_[slices]
def _slice(input_, begin, size, name=None):
    slices = tuple((builtin_slice(b, ((b + s) if (s != (- 1)) else None)) for (b, s) in zip(begin, size)))
    return input_[slices]