code: def SaveData(
      test_data_dir,
      prefix,
      onnx_variables,
      variables,
      data_list,
      names,
      batch_size=1,
  ):
      if isinstance(data_list, np.ndarray):
          data_list = [data_list]
      for (i, d), v, n in zip(enumerate(data_list), variables, names):
          onnx_value_info_proto = (
              find_onnx_value_info_proto_with_matching_name(
                  onnx_variables, n, onnx_variables[0]
              )
          )
          save_cntk_data_as_onnx_tensor(
              os.path.join(
                  test_data_dir, "{0}_{1}.pb".format(prefix, i)
              ),
              v,
              d,
              onnx_value_info_proto,
          )
  
file_path: CNTK/bindings/python/cntk/tests/onnx_model_test.py
imports: import cntk
  import numpy
  import pytest
  import os
  import re
  import shutil
  import time
  import tempfile
  from onnx import numpy_helper
  from .onnx_verify_helper import generate_sequence_data, generate_sequential_data, generate_sparse_data, verify_results_with_onnxruntime, generate_sparse_data_non_seq
  from .onnx_test_helper import find_onnx_value_info_proto_with_matching_name, save_cntk_data_as_onnx_tensor, save_test_data, save_onnx_model_with_validation_data
  from .onnx_op_test import verify_sequence_model
label_desc: Use image node_id 3 for calling a global function with example usage: SaveData(test_data_dir, prefix, onnx_variables, variables, data_list, names, batch_size) without return types