docstr: Different instances of `GDSDataset` with the same cache_dir,
  same input data, but different transforms should give different results.
docstr_tok: ["Different","instances","of","`","GDSDataset","`","with","the","same","cache_dir",",","same","input","data",",","but","different","transforms","should","give","different","results","."]
code: def test_different_transforms(self):
      """
      Different instances of `GDSDataset` with the same cache_dir,
      same input data, but different transforms should give different results.
      """
      shape = (1, 10, 9, 8)
      im = np.arange(0, np.prod(shape)).reshape(shape)
      with tempfile.TemporaryDirectory() as path:
          im1 = GDSDataset(
              [im],
              Identity(),
              cache_dir=path,
              hash_transform=json_hashing,
              device=0,
          )[0]
          im2 = GDSDataset(
              [im],
              Flip(1),
              cache_dir=path,
              hash_transform=json_hashing,
              device=0,
          )[0]
          l2 = ((im1 - im2) ** 2).sum() ** 0.5
          self.assertTrue(l2 > 1)
  
imports: from __future__ import annotations
  import os
  import pickle
  import tempfile
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.data import GDSDataset, json_hashing
  from monai.transforms import Compose, Flip, Identity, LoadImaged, SimulateDelayd, Transform
  from monai.utils import optional_import
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 5 for calling the TestDataset obj's underlying member method code with example usage: obj.test_different_transforms() without return types