code: def manual_seed(next_seed, local_seed, global_seed):
      """
      Allow users to set their random seed for testing purposes. For each device, we set three random seeds.
      Note that prev_seed is populated using next_seed
      Args:
          next_seed  - shared seed with the next party
          local_seed - seed known only to the local party (separate from torch's default seed to prevent interference from torch.manual_seed)
          global_seed - seed shared by all parties
      """
      if cfg.debug.debug_mode:
          next_seed = torch.tensor(next_seed)
          global_seed = torch.tensor(global_seed)
  
          _sync_seeds(next_seed, local_seed, global_seed)
      else:
          raise ValueError(
              "User-supplied random seeds is only allowed in debug mode"
          )
  
imports: import builtins
  import copy
  import logging
  import os
  import warnings
  import crypten.common
  import crypten.communicator
  import crypten.config
  import crypten.mpc
  import crypten.nn
  import crypten.optim
  import torch
  from .None import debug
  from .config import cfg
  from .cryptensor import CrypTensor
label_desc: Use image node_id 15 for calling a global function with example usage: manual_seed(next_seed, local_seed, global_seed) without return types