modifed h/vflip assert to only check if 2D tensors are contiguous (maintaining backward compat.)
modifed h/vflip assert to only check if 2D tensors are contiguous (maintaining backward compat.)

colesbury/image,torch/image,jonathantompson/image,jagapiou/image,Moodstocks/image