code: def write_node_features(node_features, node_file):
      """
      Utility function to serialize node_features in node_file file
  
      Parameters:
      -----------
      node_features : dictionary
          dictionary storing ntype <-> list of features
      node_file     : string
          File in which the node information is serialized
      """
      dgl.data.utils.save_tensors(node_file, node_features)
  
imports: import json
  import logging
  import os
  from itertools import cycle
  import constants
  import dgl
  import numpy
  import psutil
  import pyarrow
  import torch
  from dgl.distributed.partition import _dump_part_config
  from pyarrow import csv
label_desc: Use image node_id 14 for calling a global function with example usage: write_node_features(node_features, node_file) without return types