code: def tensor_dict_to_ndarray_dict(tensor_dict):
      """Convert dict[str, tensor] to StrMap[NDArray]"""
      ndarray_dict = {}
      for key, value in tensor_dict.items():
          ndarray_dict[key] = F.zerocopy_to_dgl_ndarray(value)
      return convert_to_strmap(ndarray_dict)
  
file_path: dgl/python/dgl/data/heterograph_serialize.py
imports: from __future__ import absolute_import
  from ..None import backend
  from .._ffi.function import _init_api
  from .._ffi.object import ObjectBase, register_object
  from ..container import convert_to_strmap
  from ..frame import Frame
  from ..heterograph import DGLGraph
label_desc: Use image node_id 1 for calling a global function with example usage: tensor_dict_to_ndarray_dict(tensor_dict) and returns: convert_to_strmap