code: def __init__(
      self, net: network.Network, weights: network.NetworkWeights
  ):
      super().__init__(net, weights)
  
      self.up_model = self.create_module(weights.w, "lora_up.weight")
      self.down_model = self.create_module(
          weights.w, "lora_down.weight"
      )
      self.mid_model = self.create_module(
          weights.w, "lora_mid.weight", none_ok=True
      )
  
      self.dim = weights.w["lora_down.weight"].shape[0]
  
file_path: stable-diffusion-webui/extensions-builtin/Lora/network_lora.py
imports: import torch
  import lyco_helpers
  import network
  from modules import devices
label_desc: Use image node_id 1 to create a new NetworkModuleLora object from inherited base classes: network with example: obj = NetworkModuleLora(net, weights)