code: def test_SizedDict_shared():
      d = SizedDict(shared=True)
      x = torch.randn(10)
      d["a"] = x
  
      mp = multiprocessing.get_context("forkserver")
      p = mp.Process(target=_set, args=(d,))
      p.start()
      p.join()
      assert d["a"][0] == 10
  
file_path: espnet/test/espnet2/utils/test_sized_dict.py
imports: import multiprocessing
  import sys
  import numpy
  import pytest
  import torch.multiprocessing
  from espnet2.utils.sized_dict import SizedDict, get_size
label_desc: Use image node_id 4 for calling a global function with example usage: test_SizedDict_shared() without return types