code: def connect_list_of_layers(deeplift_layers):
      if len(deeplift_layers) > 1:
          # string the layers together so that subsequent layers take the previous
          # layer as input
          last_layer_processed = deeplift_layers[0]
          for layer in deeplift_layers[1:]:
              layer.set_inputs(last_layer_processed)
              last_layer_processed = layer
      return deeplift_layers
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import absolute_import
  import sys
  import os
  import os.path
  import numpy
  from collections import namedtuple
  from collections import OrderedDict
  import json
  import deeplift
  import tensorflow
label_desc: Use image node_id 14 for calling a global function with example usage: connect_list_of_layers(deeplift_layers) and returns: deeplift_layers