code: def __init__(
      self, net: network.Network, weights: network.NetworkWeights
  ):
      super().__init__(net, weights)
  
      self.w1 = weights.w.get("lokr_w1")
      self.w1a = weights.w.get("lokr_w1_a")
      self.w1b = weights.w.get("lokr_w1_b")
      self.dim = self.w1b.shape[0] if self.w1b is not None else self.dim
      self.w2 = weights.w.get("lokr_w2")
      self.w2a = weights.w.get("lokr_w2_a")
      self.w2b = weights.w.get("lokr_w2_b")
      self.dim = self.w2b.shape[0] if self.w2b is not None else self.dim
      self.t2 = weights.w.get("lokr_t2")
  
file_path: stable-diffusion-webui/extensions-builtin/Lora/network_lokr.py
imports: import torch
  import lyco_helpers
  import network
label_desc: Use image node_id 1 to create a new NetworkModuleLokr object from inherited base classes: network with example: obj = NetworkModuleLokr(net, weights)