code: def set_torch_seed():
      torch.manual_seed(1)
      yield
  
file_path: madgrad/tests/test_mirrormadgrad.py
imports: import pytest
  import torch
  from madgrad import MirrorMADGRAD
label_desc: Use image node_id 1 for calling a global function with example usage: set_torch_seed() without return types