code: def test_set_random_seeds(self):
      set_random_seeds(456, False)
  
      self.assertEqual(random.randint(23, 57), 51)
      self.assertEqual(np.random.randint(93, 177), 120)
      self.assertTrue(
          bool(
              torch.eq(
                  torch.randint(23, 57, (1,)),
                  torch.tensor([24], dtype=torch.long),
              ).tolist()[0]
          )
      )
  
imports: import json
  import os
  import random
  import shutil
  import tempfile
  import unittest
  import numpy
  import torch
  from pytext.utils import recursive_map, round_seq, set_random_seeds
  from pytext.utils.data import align_slot_labels, merge_token_labels_to_slot, strip_bio_prefix, unkify
  from pytext.utils.distributed import get_shard_range
  from pytext.utils.file_io import chunk_file, PathManager
  from pytext.utils.meter import TimeMeter
  from pytext.utils.test import import_tests_module
label_desc: Use image node_id 7 for calling the UtilTest obj's underlying member method code with example usage: obj.test_set_random_seeds() without return types