code: def __init__(self, init_homo: torch.Tensor) -> None:
      super().__init__()
      self.homo = nn.Parameter(init_homo.clone().detach())
  
file_path: kornia/test/integration/test_warp.py
imports: import numpy
  import torch
  import torch.nn.functional
  from torch import nn, optim
  import kornia
label_desc: Use image node_id 1 to create a new MyHomography object from inherited base classes: nn with example: obj = MyHomography(init_homo)