docstr: To find the same permutations no matter how many GPUs are used, we reset the seed before every search
code: def reset_seed(cls):
      """To find the same permutations no matter how many GPUs are used, we reset the seed before every search"""
  
      identical_seed = cls.__manual_seed
      assert (
          identical_seed is not None
      ), "Must call set_identical_seed() before it can be reset"
  
      torch.manual_seed(identical_seed)
      torch.cuda.manual_seed(identical_seed)
      import random
  
      np.random.seed(identical_seed)
      random.seed(identical_seed)
      torch.backends.cudnn.deterministic = True
      torch.backends.cudnn.benchmark = False
  
imports: import os
  import torch
  import json
  import string
  import time
  import numpy
  import sys
  import builtins
  import io
label_desc: Use image node_id 2 for calling the Permutation obj's underlying member method code with example usage: obj.reset_seed(cls) without return types