code: def test_serialize_numpy_arrays():
      a = opt.np.array([[1, 2, 3], [4, 5, 6]], dtype=opt.np.float32)
      b = restore(flatten(a))
      assert opt.np.all(b == a)
      assert b.dtype == a.dtype
      assert b.shape == a.shape
  
file_path: sacred/tests/test_serializer.py
imports: import pytest
  from sacred.serializer import flatten, restore
  import sacred.optional
label_desc: Use image node_id 4 for calling a global function with example usage: test_serialize_numpy_arrays() without return types