That shouldn’t be the case for a tensor of [1, 4] as seen in this small code snippet:
boxes = torch.randint(0, 10, (1, 4))
xmin, ymin, xmax, ymax = boxes.unbind(1)

Could you double check the shape of boxes or post your code so that we could have a look?