code: def set_torch_seed():
      torch.manual_seed(1)
      yield
  
imports: from copy import deepcopy
  import functools
  import pytest
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: set_torch_seed() without return types