@ptrblck
My tensor shape is  4*H,W
if arrange this using loop to bigger H,W that is factor of above i get correct Image.
But when i simply do view(BigH,BigW)  i get incorrect image  ,there is repetition of patches