code: def test_save_ndarray_tsv():
      dtypes = [np.uint8, np.float32, np.float64]
      ndims = [2, 3, 4]
      for dtype in dtypes:
          for ndim in ndims:
              shape = rand_shape_nd(ndim)
              data = rand_ndarray(shape, "default", dtype=dtype)
              make_logdir()
              _save_embedding_tsv(data, _LOGDIR)
              file_path = os.path.join(_LOGDIR, _TENSORS_TSV)
              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 17 for calling a global function with example usage: test_save_ndarray_tsv() without return types