code: def _reset_seeds():
      torch.manual_seed(0)
      torch.random.manual_seed(0)
      random.seed(0)
      torch.cuda.manual_seed_all(0)
  
file_path: fairseq/tests/test_multihead_attention.py
imports: import random
  import unittest
  import pytest
  import torch
  from fairseq.modules.multihead_attention import MultiheadAttention, _mask_for_xformers
label_desc: Use image node_id 2 for calling a global function with example usage: _reset_seeds() without return types