Removing padding from tensor

I have a tensor like:

tensor([[ 9, -1, -1],
        [ 7, -1, -1],
        [ 6,  4, -1]])

What is the most efficient way to remove the padding and get something like:

[[9], [7], [ 6,  4]])

Thanks in advance for any help you can provide.