code: def test_make_1D_metadata_tsv():
      make_logdir()
      shape = rand_shape_nd(num_dim=1, dim=10)
      data = rand_ndarray(shape=shape, stype="default")
      _make_metadata_tsv(data, _LOGDIR)
      file_path = os.path.join(_LOGDIR, "metadata.tsv")
      data_loaded = np.loadtxt(file_path, dtype=data.dtype)
      assert_almost_equal(
          data.asnumpy(),
          data_loaded.reshape(data.shape),
          rtol=0.001,
          atol=0.001,
      )
      safe_remove_file(file_path)
      safe_remove_logdir()
  
imports: import shutil
  from mxboard import SummaryWriter
  from mxboard.utils import _make_metadata_tsv, make_image_grid, _make_sprite_image
  from mxboard.utils import _add_embedding_config, _save_embedding_tsv, _get_embedding_dir
  from mxboard.summary import _get_nodes_from_symbol, _net2pb
  from mxboard.proto.node_def_pb2 import NodeDef
  from mxboard.proto.attr_value_pb2 import AttrValue
  from mxboard.proto.graph_pb2 import GraphDef
  from mxboard.proto.versions_pb2 import VersionDef
  from mxnet.test_utils import *
  from mxnet.gluon import nn
  import mxnet
  from common import with_seed, setup_module
  from nose.tools import make_decorator
label_desc: Use image node_id 12 for calling a global function with example usage: test_make_1D_metadata_tsv() without return types