code: def load_input_data(data_dir):
      input_data = []
      for pb in sorted(
          glob.glob(
              os.path.join(data_dir, "test_data_set_0", "input_*.pb")
          )
      ):
          tensor = onnx.load_tensor(pb)
          ndarray = onnx.numpy_helper.to_array(tensor)
          input_data.append(ndarray)
      return input_data
  
imports: import glob
  import os
  import unittest
  import chainer
  import numpy
  import onnx
  import pytest
  from onnx_chainer.testing.get_test_data_set import gen_test_data_set
label_desc: Use image node_id 1 for calling a global function with example usage: load_input_data(data_dir) and returns: input_data