code: def test_batched_errors(self):
      N, M = 5, 10
      boxes1 = torch.randn((N, 8, 3))
      boxes2 = torch.randn((M, 10, 3))
      with self.assertRaisesRegex(ValueError, "(8, 3)"):
          box3d_overlap(boxes1, boxes2)
  
imports: import pickle
  import random
  import unittest
  from typing import List, Tuple, Union
  import torch
  import torch.nn.functional
  from pytorch3d.io import save_obj
  from pytorch3d.ops.iou_box3d import _box_planes, _box_triangles, box3d_overlap
  from pytorch3d.transforms.rotation_conversions import random_rotation
  from .common_testing import get_random_cuda_device, get_tests_dir, TestCaseMixin
label_desc: Use image node_id 11 for calling the TestIoU3D obj's underlying member method code with example usage: obj.test_batched_errors() without return types