code: def test_get_size():
      d = {}
      x = np.random.randn(10)
      d["a"] = x
      size1 = sys.getsizeof(d)
      assert size1 + get_size(x) + get_size("a") == get_size(d)
  
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 1 for calling a global function with example usage: test_get_size() without return types