Thanks @ptrblck
I tried flipping both horizontally and vertically but end up getting the same thing.
Am i doing something wrong here
x = ([[[ 0,  1],[ 2,  3]],[[ 4,  5],[ 6,  7]]])
x = torch.tensor(x)
print(‘Before Fliiping’)
print(x)
a = torch.flip(x, [0, 1])
print(’\n\nAfter Fliiping 1’)
print(a)
b = torch.flip(x, [1, 0])
print(’\n\nAfter Fliiping 2’)
print(b)
-----OUTPUT--------------------------
Before Fliiping
tensor([[[0, 1],
[2, 3]],
    [[4, 5],
     [6, 7]]])

After Fliiping 1
tensor([[[6, 7],
[4, 5]],
    [[2, 3],
     [0, 1]]])

After Fliiping 2
tensor([[[6, 7],
[4, 5]],
    [[2, 3],
     [0, 1]]])