@Alon_Zolfi thanks for the feedback.
Definitely we can support that from kornia side. We just need to remove an assertion in the input.

  
      github.com
  
  
    kornia/kornia/blob/da3aceb876e0f92b65405a20198836c08ee80d10/kornia/geometry/transform/imgwarp.py#L493-L494 7

if not tensor.shape[-2:] == map_x.shape[-2:] == map_y.shape[-2:]:
    raise ValueError("Inputs last two dimensions must match.")



  
  
    
    
  
  


Would you mind to open a ticket in kornia or a quick PR addressing that ?