code: def test_rand_2d_elastic(self, input_param, input_data, expected_val):
      g = Rand2DElastic(**input_param)
      set_track_meta(False)
      result = g(**input_data)
      self.assertNotIsInstance(result, MetaTensor)
      self.assertIsInstance(result, torch.Tensor)
      set_track_meta(True)
      g.set_random_state(123)
      result = g(**input_data)
      assert_allclose(
          result, expected_val, type_test=False, rtol=_rtol, atol=1e-4
      )
  
file_path: MONAI/tests/test_rand_elastic_2d.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.data import MetaTensor, set_track_meta
  from monai.transforms import Rand2DElastic
  from tests.utils import TEST_NDARRAYS_ALL, assert_allclose, is_tf32_env
label_desc: Use image node_id 1 for calling the TestRand2DElastic obj's underlying member method code with example usage: obj.test_rand_2d_elastic(input_param, input_data, expected_val) without return types