code: def __init__(
      self, height: int, width: int, *args: Any, **kwargs: Any
  ) -> None:
      super().__init__(*args, **kwargs)
      self.height = height
      self.width = width
  
file_path: kornia/kornia/geometry/transform/homography_warper.py
imports: from __future__ import annotations
  from abc import abstractmethod
  from typing import Any, Optional
  import torch.nn.functional
  from kornia.core import Module, Tensor
  from kornia.utils import create_meshgrid
  from .imgwarp import homography_warp, warp_grid
label_desc: Use image node_id 1 to create a new BaseWarper object from inherited base classes: Module with example: obj = BaseWarper(height, width)