code: def slerp(val, low, high):
      low_norm = low / torch.norm(low, dim=1, keepdim=True)
      high_norm = high / torch.norm(high, dim=1, keepdim=True)
      dot = (low_norm * high_norm).sum(1)
  
      if dot.mean() > 0.9995:
          return low * val + high * (1 - val)
  
      omega = torch.acos(dot)
      so = torch.sin(omega)
      res = (torch.sin((1.0 - val) * omega) / so).unsqueeze(1) * low + (
          torch.sin(val * omega) / so
      ).unsqueeze(1) * high
      return res
  
file_path: stable-diffusion-webui/modules/rng.py
imports: import torch
  from modules import devices, rng_philox, shared
label_desc: Use image node_id 7 for calling a global function with example usage: slerp(val, low, high) and returns: res, unknown