The TF docs might be helpful:

If  size[i]  is -1, all remaining elements in dimension i are included in the slice. In other words, this is equivalent to setting:
size[i] = input_.dim_size(i) - begin[i]

If you provide the input and desired output (+ shapes), we could try to come up with the corresponding method in PyTorch.