code: def build_scaling_rotation(s, r):
      L = torch.zeros(
          (s.shape[0], 3, 3), dtype=torch.float, device="cuda"
      )
      R = build_rotation(r)
  
      L[:, 0, 0] = s[:, 0]
      L[:, 1, 1] = s[:, 1]
      L[:, 2, 2] = s[:, 2]
  
      L = R @ L
      return L
  
file_path: gaussian-splatting/utils/general_utils.py
imports: import torch
  import sys
  from datetime import datetime
  import numpy
  import random
label_desc: Use image node_id 7 for calling a global function with example usage: build_scaling_rotation(s, r) and returns: L