code: def make_weight_cp(t1, w1a, w1b, t2, w2a, w2b, scale):
      return HadaWeightCP.apply(t1, w1a, w1b, t2, w2a, w2b, scale)
  
imports: import math
  from typing import Any, Set, Tuple
  import torch
  import torch.nn
  import torch.nn.functional
  from peft.tuners.lycoris_utils import LycorisLayer
label_desc: Use image node_id 2 for calling a global function with example usage: make_weight_cp(t1, w1a, w1b, t2, w2a, w2b, scale) and returns: HadaWeightCP