code: def test_custom_generator_with_global_seed(self) -> None:
      gen = torch.Generator()
      torch.manual_seed(1337)
      data1 = self._read_all_dp(dp_generator=gen)
      torch.manual_seed(1337)
      data2 = self._read_all_dp(dp_generator=gen)
      self.assertNotEqualTensors(data1, data2)
  
imports: import unittest
  from typing import Optional
  import torch
  import torch.nn
  from opacus import PrivacyEngine
  from opacus.data_loader import DPDataLoader, switch_generator
  from opacus.grad_sample import GradSampleModule
  from opacus.optimizers import DPOptimizer
  from torch.utils.data import DataLoader, TensorDataset
label_desc: Use image node_id 6 for calling the DataLoaderRandomnessTest obj's underlying member method code with example usage: obj.test_custom_generator_with_global_seed() without return types