code: def test_rand_grid_distortiond(
      self,
      input_param,
      seed,
      input_data,
      expected_val_img,
      expected_val_mask,
  ):
      g = RandGridDistortiond(**input_param)
      g.set_random_state(seed=seed)
      result = g(input_data)
      assert_allclose(
          result["img"],
          expected_val_img,
          type_test=False,
          rtol=1e-4,
          atol=1e-4,
      )
      assert_allclose(
          result["mask"],
          expected_val_mask,
          type_test=False,
          rtol=1e-4,
          atol=1e-4,
      )
  
file_path: MONAI/tests/test_rand_grid_distortiond.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.transforms import RandGridDistortiond
  from tests.utils import TEST_NDARRAYS_ALL, assert_allclose
label_desc: Use image node_id 1 for calling the TestRandGridDistortiond obj's underlying member method code with example usage: obj.test_rand_grid_distortiond(input_param, seed, input_data, expected_val_img, expected_val_mask) without return types