code: def test_defaulted_arguments(self):
      points = torch.rand(30, 1000, 3)
      features = torch.rand(30, 1000, 5)
      _, densities = add_points_features_to_volume_densities_features(
          points,
          features,
          torch.zeros(30, 1, 32, 32, 32),
          torch.zeros(30, 5, 32, 32, 32),
      )
      self.assertClose(
          torch.sum(densities), torch.tensor(30 * 1000.0), atol=0.1
      )
  
imports: import unittest
  from functools import partial
  from itertools import product
  from typing import Tuple
  import numpy
  import torch
  from pytorch3d.ops import add_pointclouds_to_volumes, add_points_features_to_volume_densities_features
  from pytorch3d.ops.points_to_volumes import _points_to_volumes
  from pytorch3d.ops.sample_points_from_meshes import sample_points_from_meshes
  from pytorch3d.structures.meshes import Meshes
  from pytorch3d.structures.pointclouds import Pointclouds
  from pytorch3d.structures.volumes import Volumes
  from pytorch3d.transforms.so3 import so3_exp_map
  from .common_testing import TestCaseMixin
label_desc: Use image node_id 6 for calling the TestPointsToVolumes obj's underlying member method code with example usage: obj.test_defaulted_arguments() without return types