code: def _save_embedding_tsv(data, file_path):
      """Given a 2D `NDarray` or a `numpy.ndarray` as embeding,
      save it in tensors.tsv under the path provided by the user."""
      if isinstance(data, np.ndarray):
          data_list = data.tolist()
      elif isinstance(data, NDArray):
          data_list = data.asnumpy().tolist()
      else:
          raise TypeError(
              "expected NDArray of np.ndarray, while received type {}".format(
                  str(type(data))
              )
          )
      with open(os.path.join(file_path, "tensors.tsv"), "w") as f:
          for x in data_list:
              x = [str(i) for i in x]
              f.write("\t".join(x) + "\n")
  
file_path: mxboard/python/mxboard/utils.py
imports: from __future__ import absolute_import
  import os
  import logging
  import numpy
  from mxnet.ndarray import NDArray, op
  from mxnet.ndarray import ndarray
  from mxnet.context import current_context
label_desc: Use image node_id 11 for calling a global function with example usage: _save_embedding_tsv(data, file_path) without return types