code: def strip_lowerdiag(L):
      uncertainty = torch.zeros(
          (L.shape[0], 6), dtype=torch.float, device="cuda"
      )
  
      uncertainty[:, 0] = L[:, 0, 0]
      uncertainty[:, 1] = L[:, 0, 1]
      uncertainty[:, 2] = L[:, 0, 2]
      uncertainty[:, 3] = L[:, 1, 1]
      uncertainty[:, 4] = L[:, 1, 2]
      uncertainty[:, 5] = L[:, 2, 2]
      return uncertainty
  
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 4 for calling a global function with example usage: strip_lowerdiag(L) and returns: uncertainty