here you go @ptrblck ,
print(output.shape)
    print(labels.shape)
    tensor_max_value = torch.max(output)
    print(tensor_max_value)
    tensor_min_value = torch.min(output)
    print(tensor_min_value)
    tensor_max_value1 = torch.max(labels)
    print(tensor_max_value1)
    tensor_min_value1 = torch.min(labels)
    print(tensor_min_value1)

Ans -
torch.Size([16, 1000])
torch.Size([16])
tensor(11.5087, device='cuda:0', grad_fn=<MaxBackward1>)
tensor(-6.5780, device='cuda:0', grad_fn=<MinBackward1>)
tensor(38, device='cuda:0')
tensor(3, device='cuda:0')

I have given the code, to make sure, I am going in the right direction.
Also printed from the training loop.