code: def create_array(length, fill_value) -> array:
      """
      根据长度自动创建 array ，超过 4294967295 需要使用 'L', 否则使用 'I'
  
      :param length:
      :param fill_value:
      :return:
      """
      if not isinstance(fill_value, Sequence):
          fill_value = [fill_value] * length
  
      if length > 4294967295:
          _index_lst = array("L", fill_value)
      else:
          _index_lst = array("I", fill_value)
      return _index_lst
  
file_path: fastNLP/fastNLP/core/samplers/utils.py
imports: from array import array
  from typing import Sequence
  from collections import deque
label_desc: Use image node_id 2 for calling a global function with example usage: create_array(length, fill_value) and returns: _index_lst