code: def test_list_tuple(self):
      test_data = [[1, 2], [3, 4]]
      result = ToCupy(wrap_sequence=True)(test_data)
      cp.testing.assert_allclose(result, cp.asarray(test_data))
      test_data = ((1, 2), (3, 4))
      result = ToCupy(wrap_sequence=True)(test_data)
      cp.testing.assert_allclose(result, cp.asarray(test_data))
  
file_path: MONAI/tests/test_to_cupy.py
imports: from __future__ import annotations
  import unittest
  from unittest import skipUnless
  import numpy
  import torch
  from monai.transforms import ToCupy
  from monai.utils import optional_import
  from tests.utils import HAS_CUPY, skip_if_no_cuda
label_desc: Use image node_id 8 for calling the TestToCupy obj's underlying member method code with example usage: obj.test_list_tuple() without return types