code: def test_masked_gather_errors(self):
      idx = torch.randint(0, 10, size=(5, 10, 4, 2))
      points = torch.randn(size=(5, 10, 3))
      with self.assertRaisesRegex(
          ValueError, "format is not supported"
      ):
          oputil.masked_gather(points, idx)
  
      points = torch.randn(size=(2, 10, 3))
      with self.assertRaisesRegex(ValueError, "same batch dimension"):
          oputil.masked_gather(points, idx)
  
file_path: pytorch3d/tests/test_ops_utils.py
imports: import unittest
  import numpy
  import torch
  from pytorch3d.ops import utils
  from .common_testing import TestCaseMixin
label_desc: Use image node_id 3 for calling the TestOpsUtils obj's underlying member method code with example usage: obj.test_masked_gather_errors() without return types