code: def exclude_index(array, index):
      """
      Copies array and exclude single element in specific
      index position.
  
      Parameters
      ----------
      array : list or tuple
  
      index : int
          Index of the value that has to be excluded from the array
  
      Returns
      -------
      list
      """
      array = list(array)
      copied_array = copy.copy(array)
      copied_array.pop(index)
      return copied_array
  
imports: import copy
  from functools import reduce
  import tensorflow
  from neupy.core.properties import FunctionWithOptionsProperty, IntProperty
  from neupy.exceptions import LayerConnectionError
  from neupy.utils import tf_utils
  from .base import BaseLayer
label_desc: Use image node_id 1 for calling a global function with example usage: exclude_index(array, index) and returns: copied_array