code: def test_dynamo(self, device, dtype, torch_optimizer):
      # Define script
      op = infer_bbox_shape3d
      op_script = torch_optimizer(op)
  
      boxes = torch.tensor(
          [
              [
                  [0, 0, 1],
                  [3, 0, 1],
                  [3, 2, 1],
                  [0, 2, 1],
                  [0, 0, 3],
                  [3, 0, 3],
                  [3, 2, 3],
                  [0, 2, 3],
              ]
          ],
          device=device,
          dtype=dtype,
      )  # 1x8x3
  
      actual = op_script(boxes)
      expected = op(boxes)
      assert_close(actual, expected)
  
imports: import torch
  import kornia
  from kornia.geometry.bbox import infer_bbox_shape, infer_bbox_shape3d, nms, transform_bbox, validate_bbox, validate_bbox3d
  from kornia.testing import assert_close, gradcheck, tensor_to_gradcheck_var
label_desc: Use image node_id 4 for calling the TestBbox3D obj's underlying member method code with example usage: obj.test_dynamo(device, dtype, torch_optimizer) without return types