code: def test_big_indices(self):
      # ravel_multi_index for big indices (issue #7546)
      if np.intp == np.int64:
          arr = (
              [1, 29],
              [3, 5],
              [3, 117],
              [19, 2],
              [2379, 1284],
              [2, 2],
              [0, 1],
          )
          assert_equal(
              np.ravel_multi_index(arr, (41, 7, 120, 36, 2706, 8, 6)),
              [5627771580, 117259570957],
          )
  
      # test unravel_index for big indices (issue #9538)
      assert_raises(
          ValueError, np.unravel_index, 1, (2**32 - 1, 2**31 + 1)
      )
  
      # test overflow checking for too big array (issue #7546)
      dummy_arr = ([0], [0])
      half_max = np.iinfo(np.intp).max // 2
      assert_equal(np.ravel_multi_index(dummy_arr, (half_max, 2)), [0])
      assert_raises(
          ValueError, np.ravel_multi_index, dummy_arr, (half_max + 1, 2)
      )
      assert_equal(
          np.ravel_multi_index(dummy_arr, (half_max, 2), order="F"), [0]
      )
      assert_raises(
          ValueError,
          np.ravel_multi_index,
          dummy_arr,
          (half_max + 1, 2),
          order="F",
      )
  
imports: import functools
  from unittest import expectedFailure, skipIf
  from pytest import raises
  from torch.testing._internal.common_utils import instantiate_parametrized_tests, parametrize, run_tests, TEST_WITH_TORCHDYNAMO, TestCase, xpassIfTorchDynamo
label_desc: Use image node_id 3 for calling the TestRavelUnravelIndex obj's underlying member method code with example usage: obj.test_big_indices() without return types