code: def get_current_mode():
      """Returns the current mode of the seed manager.
  
      Returns:
          :class:`torch.ByteTensor`: The current mode of the seed manager.
      """
      return _SEED_MANAGER.current_mode
  
file_path: ColossalAI/colossalai/legacy/context/random/_helper.py
imports: import functools
  from contextlib import contextmanager
  import torch.cuda
  from torch import Tensor
  from ..parallel_mode import ParallelMode
  from .seed_manager import SeedManager
label_desc: Use image node_id 3 for calling a global function with example usage: get_current_mode() and returns: _SEED_MANAGER