code: def test_out_of_bounds_extrap2(self):
      points, values = self._get_sample_4d_2()
      interp = RegularGridInterpolator(
          points, values, bounds_error=False, fill_value=None
      )
      sample = cp.asarray(
          [
              [-0.1, -0.1, -0.1, -0.1],
              [1.1, 1.1, 1.1, 1.1],
              [21, 2.1, -1.1, -11],
              [2.1, 2.1, -1.1, -1.1],
          ]
      )
      wanted = cp.asarray([0.0, 11.0, 11.0, 11.0])
      assert_array_almost_equal(
          interp(sample, method="nearest"), wanted
      )
      wanted = cp.asarray([-12.1, 133.1, -1069.0, -97.9])
      assert_array_almost_equal(interp(sample, method="linear"), wanted)
  
imports: import pytest
  import cupy
  from cupy.testing import assert_allclose, assert_array_equal, assert_array_almost_equal
  from cupy_backends.cuda.api import runtime
  from pytest import raises
  from cupyx.scipy.interpolate import RegularGridInterpolator, interpn
label_desc: Use image node_id 13 for calling the TestRegularGridInterpolator obj's underlying member method code with example usage: obj.test_out_of_bounds_extrap2() without return types