code: def create_module(
      self, net: network.Network, weights: network.NetworkWeights
  ):
      if all(x in weights.w for x in ["oft_blocks"]) or all(
          x in weights.w for x in ["oft_diag"]
      ):
          return NetworkModuleOFT(net, weights)
  
      return None
  
file_path: stable-diffusion-webui/extensions-builtin/Lora/network_oft.py
imports: import torch
  import network
  from lyco_helpers import factorization
  from einops import rearrange
label_desc: Use image node_id 1 for calling the ModuleTypeOFT obj's underlying member method code with example usage: obj.create_module(net, weights) and returns: None, NetworkModuleOFT