code: def __init__(
      self, net: network.Network, weights: network.NetworkWeights
  ):
      super().__init__(net, weights)
  
      if hasattr(self.sd_module, "weight"):
          self.shape = self.sd_module.weight.shape
  
      self.w1a = weights.w["hada_w1_a"]
      self.w1b = weights.w["hada_w1_b"]
      self.dim = self.w1b.shape[0]
      self.w2a = weights.w["hada_w2_a"]
      self.w2b = weights.w["hada_w2_b"]
  
      self.t1 = weights.w.get("hada_t1")
      self.t2 = weights.w.get("hada_t2")
  
file_path: stable-diffusion-webui/extensions-builtin/Lora/network_hada.py
imports: import lyco_helpers
  import network
label_desc: Use image node_id 1 to create a new NetworkModuleHada object from inherited base classes: network with example: obj = NetworkModuleHada(net, weights)