code: def sparse_to_dense(sparse_data):
      dense_data = [sparse_data[0].todense()]
      for i in range(1, len(dense_data)):
          dense_data = np.concatenate(
              dense_data, sparse_data[i].todense()
          )
      return np.array(dense_data)
  
imports: import os
  import re
  import shutil
  import numpy
  import scipy
  import cntk
  import pytest
  from .onnx_verify_helper import verify_results_with_onnxruntime, get_onnx_test_runner_callscript
label_desc: Use image node_id 2 for calling a global function with example usage: sparse_to_dense(sparse_data) and returns: np