code: def TV_loss_density(self, reg):
      total = 0
      for idx in range(len(self.density_plane)):
          total = (
              total
              + reg(
                  self.density_plane[idx] * self.density_plane_mask[idx]
              )
              * 1e-2
          )
      return total
  
file_path: slimmerf/models/tensoRF.py
imports: from .tensorBase import *
label_desc: Use image node_id 11 for calling the TensorVMSplit obj's underlying member method code with example usage: obj.TV_loss_density(reg) and returns: total